hi list,
from man useradd the defaults can be supplied by the system for adding a
user.how to specify that the default shell is rbash or "bash -r" ?
DESCRIPTION
Creating New Users
When invoked without the -D option, the useradd command
creates a new user account using the values specified on
the command line and the default values from the system.
# useradd defaults file
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel
> >>To set an account with no password -- *Not Reccommended* unless you use
> >>a *Restricted Shell* -- then edit /etc/shadow, find the user, and delete
> >>the password field
>
regards,
manohar
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help