![]() |
|
|
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 |
| script to change root password | kvadivel80 | Shell Programming and Scripting | 3 | 09-18-2007 03:14 AM |
| Change Password In A Shell Script | pintu_asim | Shell Programming and Scripting | 6 | 06-29-2006 11:16 AM |
| script/program to change the password ? | kad | Shell Programming and Scripting | 0 | 06-01-2006 08:02 AM |
| Change password script in Unix easily.. | zp523444 | UNIX for Advanced & Expert Users | 4 | 11-14-2005 03:14 PM |
| Script to automatically change password. | rahulrathod | Shell Programming and Scripting | 1 | 10-04-2004 09:33 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
My shop has just ordained that all UNIX passwords expire after 45 days. We do NOT have a "single logon" facility, so I will need to logon to each of the servers (15+) I interact with and change my password by hand. I thought I could invoke passwd inside a ksh script as a Here document and effectively change my password, stage this script on all the servers under my id, and then invoke via REXEC from one server.
Unfortunately, when I run passwd as a Here doc, it doesn't take my old/new password from stdin. Here's what I'm doing inside pass.sh: #!/usr/bin/ksh passwd <<EOF oldpassword newpassword newpassword EOF Does anyone have any thoughts on how I can "synchronize" all my passwords? (I don't have root privs - I'm a developer, not an administrator). |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|