How to create automatic profiles

Tommy Wareing tommyw at ntlworld.com
Fri Jun 8 09:17:54 PDT 2001


On Sat, Jun 09, 2001 at 12:01:16AM +0800, Adrian Ho wrote:
> On Fri, 8 Jun 2001, Tommy Wareing wrote:
> 
> > So... if you can get an appropriate value into $grp first...
> > #! /bin/sh
> > echo $1:x:$grp: >> /etc/group
> 
> Ummm...isn't this what groupadd is good for?  8-)

Grrr. Not my day, is it?

groupadd's in /usr/sbin, and it didn't occur to me to look there
(since I wasn't logged in as root).

However, it doesn't resolve the problem of determining
the new group id.

-- 
T.
-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the blfs-support mailing list