How to create automatic profiles

Gerard Beekmans gerard at linuxfromscratch.org
Fri Jun 8 08:10:04 PDT 2001


> Ah. Right. Now we understand.
> 
> Short answer: you can't.

Uhm correction, short answer: you can, kind of

run: useradd -D

Those are the defaults set when you don't specify them:

gerard:~$ useradd -D
GROUP=500
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=
SKEL=/etc/skel

You can change those defaults by running "useradd -D option"

so if you want to change the default shell:
useradd -D -s /bin/bash

you need to create the /etc/default directory before you can change
these defaults.



-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
-- 
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