![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SSH prompts password for non identical users | vjkatsun | UNIX for Advanced & Expert Users | 5 | 06-02-2008 02:18 AM |
| Modify Perl script to work with txt - Permissions script | joangopan | Shell Programming and Scripting | 1 | 09-13-2007 12:38 AM |
| Have users changed their password | annemar | UNIX for Dummies Questions & Answers | 6 | 09-20-2006 05:18 AM |
| list the password settings for all the users | irasela | UNIX Desktop for Dummies Questions & Answers | 3 | 08-17-2006 03:40 PM |
| Setting password restrictions for all users | drathbone | UNIX for Dummies Questions & Answers | 2 | 03-03-2006 08:02 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Modify users password via script?
Ok, first off, I'm working on a Vmware ESX server, which I guess is loosely based off of Red Hat 9. But I'm brand new to it (today), so be nice.
I'm trying to write a useradd script that will create some users, generate a password, and set their password to this newly generated password. Now by hand, I can use the useradd command, and then use passwd to change their password. But if I've got to set up a couple hundred users, this is not enjoyable. So if I can't use passwd in a script (because it requires user interaction), how can I create these users with some default password? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|