Xref: utzoo comp.unix.questions:4757 comp.unix.wizards:5671 Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!hao!ames!ptsfa!well!samlb From: samlb@well.UUCP (Samuel B. Bassett) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Setting up groups Message-ID: <4718@well.UUCP> Date: 13 Dec 87 09:22:52 GMT Reply-To: samlb@well.UUCP (Samuel B. Bassett) Organization: Whole Earth Lectroinic Link, Sausalito, CA Lines: 22 Semi-arcane question: How do you assign a user to more than one group? I've been appointed assistant sysadmin at work, and the subject of group read/write permissions has come up, and the sysadmin just looks blank when I ask how to enroll users in more than one group. I know how to create groups -- add an entry for the group name, password, group number, and a comma-delimited member list in /etc/group. I know how to assign a given user to _one_ group -- put the group number in the 4th column of his/her/its entry in /etc/passwd. But if I want to have users be in _two_ or more groups (so they can read and write files in several different areas, I don't know how to do it. Can anyone enlighten me? -- Sam'l Bassett -- Semantic Engineering for fun & profit. 34 Oakland Ave., San Anselmo CA 94960; DDD: (415) 454-7282 UUCP: {hplabs,ptsfa,lll-crg}!well!samlb; Internet: samlb@well.uucp Compuserve: 71735,1776; WU Easylink ESL 6284-3034; MCI SBassett