[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Adduser: strange -p option on RH5.2
- Subject: Adduser: strange -p option on RH5.2
- From: Chetan Kumar <chetansk@xxxxxxxxxxxxxxxx>
- Date: Mon, 2 Aug 1999 10:50:06 +0530 (IST)
Hello,
Adduser have an option [-p passwd] see below.
bash$ adduser
usage: adduser [-u uid [-o]] [-g group] [-G group,...]
[-d home] [-s shell] [-c comment] [-m [-k template]]
[-f inactive] [-e expire mm/dd/yy] [-p passwd] [-n] [-r] name
adduser -D [-g group] [-b base] [-s shell] [-f inactive] [-e expire mm/
This is option expect the passwd I give on the command line to be
encrypted. i.e. I add user with command
adduser -p simple uraccount
Now an account uraccount gets created with passwd field in /etc/passwd
containing "simple".
uraccount:simple:505:507:Red Hat User:/home/uraccount:/bin/bash.
Why is this so ???
- -Chetan S
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.
------------------------------