Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Command for adding new users - needed.

0 views
Skip to first unread message

Shlomit Afgin

unread,
May 22, 1994, 9:12:22 AM5/22/94
to

We used to add new users to our unix machine with the Convex 'nu' command,
We want to stop using the Convex to this purpose and we would like to use
one of the other type of machines we have. We have Hp, Silicon Graphics, Sun,
Ultrix, and RS/6000 machines. I didn't find in any of those machines a add user
command that work closely to the 'nu' Convex command.

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.

0 new messages