in reply to expect and adduser
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 ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: expect and adduser
by marvell (Pilgrim) on Oct 14, 2005 at 11:33 UTC | |
by merlyn (Sage) on Oct 14, 2005 at 11:39 UTC | |
by Perl Mouse (Chaplain) on Oct 14, 2005 at 12:15 UTC |