[lug] Adding Users -- Yellow Dog PPCi

Ralf Mattes rm at ns.aura.de
Mon Nov 8 17:04:53 MST 1999

On Mon, 8 Nov 1999, Lynn Danielson wrote:

> The man page for useradd says that the -p switch accepts "the encrypted
> password, as  returned  by  crypt(3).  The default is to disable the 
> account."  I don't know that I've ever tried to set passwords with it,

yes, it does. This feature is very usefull if you need/want to create
user account from within a program/script. The 'passwd' program itself
is a pain to control from scripts (since it checks whether it was called
from a really tty). BTW, the 'usermod' command also supports the '-p'


|                                     |                             |==
| Ralf Mattes                         | rm at schauinsland.com         |==
| Programming, Administration         | rm at ns.aura.de               |==
|                                     |                             |==

More information about the LUG mailing list