On Saturday 28 July 2001 14:29, you wrote: > Hello, > > I am trying to change group for a few users. > > groupadd admingroup > chgrp admingroup user1 > chgrp admingroup user2 > > When I go the the /etc/passwd file and list user1 and user2 entries, > they are not in the admingroup chgrp is for changing group ownership of files, not users. Add users to groups by editing /etc/group and listing the users that you want in that group (separated by commas) after the group you want them added to. (Or, if you want them *removed* from their old group too, just change the gid field in /etc/passwd for that user.) John -- # John Madden weez@xxxxxxxxxxxxx ICQ: 2EB9EA # FreeLists, Free mailing lists for all: //www.freelists.org # UNIX Systems Engineer, Ivy Tech State College: http://www.ivy.tec.in.us # Linux, Apache, Perl and C: All the best things in life are free! ============================================================= Avenir Web's Linux Discussion List List info: //www.freelists.org/cgi-bin/webpage?webpage_id=13 To unsubscribe: email linux-discussion-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject line. Administrative contact: weez@xxxxxxxxxxxxx =============================================================