Adding new users

Ira Mendell ibm at bestweb.net
Sat Mar 23 08:12:37 PST 2002


Thank you for the leads on theses scripts.  I'll check them out.  I know
they'll be a great help.
          Ira

Speed wrote:

> On Fri, 22 Mar 2002, ira mendell wrote:
> >     I've created etc/skel with apropriate files.
> > I want to add a user, add its password and add its new group.  Am I on
> > the right track with the following command:
> >
> > useradd -m<newuser> -n<newuser> -p<newuser password> -u<newuser>
>
> I have a tweaked version of the Slackware-8.0 'adduser' script on the old
> web site. The modified script creates a group of the same name as the new
> user, as is done in Debian. Also, rather than creating uid's on a 'next
> available' basis if not specified, I prefer one to be input.
>
> Apart from these two hacks, the script is the same.
>
> They are available from here if you need them:
>
>  http://www.highspeed.flyer.co.uk/pub/linux/misc/adduser
>  http://www.highspeed.flyer.co.uk/pub/linux/misc/adduser-slackware-8.0
>
> Regards.
>
> Speed...
>
> --
> Unsubscribe: send email to listar at linuxfromscratch.org
> and put 'unsubscribe lfs-support' in the subject header of the message

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list