Entries in group shadow file
Matthew Miller
mattdm at mattdm.org
Thu May 5 21:20:36 UTC 2005
On Thu, May 05, 2005 at 02:10:19PM -0700, Al Sparks wrote:
> I'm setting up a server where one user is going to need access to
> files on other users.
[...]
> Is there a way to automagically sync the
> somegroup:x:99:user1,user2
> from /etc/group to /etc/gshadow?
Sure. Instead of editing the file by hand, use the command-line tools:
groupadd, groupdel, groupmod, and the very useful but badly named gpasswd.
(That last one is what you use for adding and removing individual users from
groups.)
--
Matthew Miller mattdm at mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 79 degrees Fahrenheit.
More information about the users
mailing list