Note the -p option. (Yes, I am aware of the theoretical risks -- if that worries you, umount /proc).$ useradd --help useradd: invalid option -- - usage: useradd [-u uid [-o]] [-g group] [-G group,...] [-d home] [-s shell] [-c comment] [-m [-k template]] [-f inactive] [-e expire ] [-p passwd] [-M] [-n] [-r] +name useradd -D [-g group] [-b base] [-s shell] [-f inactive] [-e expire ]
In reply to Re: expect and adduser
by Perl Mouse
in thread expect and adduser
by marvell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |