Forum Home
Press F1
 
Thread ID: 48438 2004-08-23 02:25:00 adding a user to a group in RH9 beama (111) Press F1
Post ID Timestamp Content User
264408 2004-08-23 02:25:00 no linux gui
command line only

have done usermod -G fred peter as root
the etc/group file reads as follows for fred's group membership

fred:x:500:peter

when logged in as fred nad issuing the "groups" command
returns a group membership of fred only

I have have loged off as fred and root rebooted and the group membership remains as fred when loging in as fred.(etc/group says fred's group membership should be fred and peter).

what am I missing

newgrp (when used as fred) asks for a password, I have tried both roots and peters password both return an invalid password message

I would like fred to have group membership of both fred and peter
beama (111)
264409 2004-08-23 02:31:00 > fred:x:500:peter

**** smiley's
should be without spaces

fred : x : 500 : peter
beama (111)
264410 2004-08-23 02:58:00 You have made peter a member of the fred group. Try adding fred to the peter group.

:D
Graham L (2)
264411 2004-08-23 03:16:00 should read those man pages more carefully.
Thank you Graham
G(__) fill the cup with your favorite brew at my expense
beama (111)
264412 2004-08-23 03:22:00 It's just the dumb computer doing exactly what you tell it to do, not what you want it to do.

I've always "disliked" the man pages because they don't put examples in. They are great for exact syntax. If you know the semantics. :D
Graham L (2)
1