9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi guys,
I have a question. In the passwd file, user johndoe has a GID of 100 which is the group named users in the group file. But if you check the group file, johndoe is not listed under GID 100, but under GID 33, which is the group named videos. Under what group does johndoe really belong,... (1 Reply)
Discussion started by: goldenlight1814
1 Replies
2. Shell Programming and Scripting
/etc/group
tiadm::345:mk789,po312,jo343,ju454,ko453,yx879,iy345,hn453
bin::2:root,daemon
sys::3:root,bin,adm
adm::4:root,daemon
uucp::5:root
/etc/passwd
mk789:x:234:1::/export/home/dummy:/bin/sh
po312:x:234:1::/export/home/dummy:/bin/sh
ju454:x:234:1::/export/home/dummy:/bin/sh... (6 Replies)
Discussion started by: chidori
6 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a passwd file with 3 users belonging to the the root group (gid=0), but the group file does not list these users as members of the root group?
Shoud I be worried and apart from manually changing it, how can it be remediated?
thx
Norgaard (1 Reply)
Discussion started by: Norgaard
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I need to change the comment field in /etc/passwd file for one userid in my RHEL linux m/cs. I tried to open the file in vi editor and changed the comment, but next day it's getting reverted back again. :-(
mitchell:x:1000:900:Jon Mitchell User:/home/mitchell:/bin/bash
I need to... (2 Replies)
Discussion started by: NARESH1302
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am checking who belong to the dba group ,
and found that oracle and autosys users are part of this group
cat /etc/group | grep dba
dba::400:oracle,autosys
I thought to found user autosys under group 400 togther with user
oracle , but found it in group 1000 as you can see bellow.... (2 Replies)
Discussion started by: yoavbe
2 Replies
6. UNIX for Dummies Questions & Answers
Dear unix gurus,
I have a data file with header information about a subject and also 3 columns of n rows of data on various items he owns. The data file looks something like this:
adam peter
blah blah blah
blah blah blah
car
01 30 200
02 31 400
03 57 121
.. .. ..
.. .. ..
n y... (8 Replies)
Discussion started by: tintin72
8 Replies
7. UNIX and Linux Applications
Hello
I'm writing a program for managing accounts and groups in a linux system.
My problem is how to update the members of a group in the /etc/group file,if i have to add/remove those members.
total 3 variables for adding some new members to the group :
char **oldmembers=grp->gr_mem; ... (1 Reply)
Discussion started by: mekos
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Today I faced a problem trying to log in as root. The output error is
cannot execute sh: No such file....
I doubted there is something wrong with shell interpreter which resides in /etc/passwd file for every user who logs in.
I checked and the line for root account was... (4 Replies)
Discussion started by: elthox
4 Replies
9. UNIX for Dummies Questions & Answers
How can I find find all members in the /etc/password file that belong to the dba group in the /etc/group file? (4 Replies)
Discussion started by: mozartny
4 Replies