On 2005-01-16 10:41 -0000, [EMAIL PROTECTED] wrote: >> grep john /etc/group >> Do you get something back like >> users:*5:bob,mary,john > > No, I get: > > users:x:100: > > and my user has the following line: > > elias:x:501: > > So, something is clearly wrong here. > > I can edit the "users" line to something like: > > users:*5:elias > > but I dont know what number to give it - 501 or does it have to be an > unique one.
Scott made a typo - one of the few I have seen from him. (wink, wink, ducks) He missed the colon between the password and gid fields. To me it sounds like you have the RedHat-ish setup of users in their own groups. There is nothing really wrong with this and you can implement a "users" group alongside with it if you like, by adding a line like users:x:NNN:[user1[,user2[,user3[,...]]]] to your /etc/group file. The "x" is the encrypted password for getting into the group by users themselves. `x', `*' or whatever will do, as long as it's not a valid encrypted password (unless you want people to be able to get into the group on their own). The gid (NNN in the above example) must be unique among the *groups*, but has no bearing on the *user* IDs - those two are separate. -- Michael Kj�rling, [EMAIL PROTECTED] - http://michael.kjorling.com/ * ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments * * No bird soars too high if he soars with his own wings. -*- SM0YBY * To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be removed. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/LINUX_Newbies/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
