I'm looking for add user command that can be run in interactive or not
interactive mode.
In the interactive mode it will ask me for every field in the passwd file
(including the password) also will give me defaults value for the user-id
( the last uid that available according to the passwd file ), home directory
and shell and will prompt me for value to the other fields.
In the non interactive mode It will get a file with few lines each line
contain information for one user the line can be something like:
login=shlomit:group=user: ... :directory=/usr/users:password=a1b2c3d4
and he know to read this file and to build the passwd line:
shlomit:RGD&#Kor6:200:20: ... :/usr/users/shlomit:/bin/csh
Another thing that it will be good if they will be exist are:
- forcing users to change the passwd every specific period time.
- Any way to see when the users last time change is password.
Any answers are welcome .
Please reply to vshl...@wiscon.weizmann.ac.il .
Thanks,
Shlomit.