This is a discussion on Solaris Change User Password Using a Shell Script within the Solaris/OpenSolaris forums, part of the UNIX operating systems category; Hi all, I need to change the password of any user in one go . For example in Linux we ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hi all,
I need to change the password of any user in one go. For example in Linux we have two options :- Code:
(echo "username:password") | chpasswd or echo $PASS | passwd $USER --stdin I have made it for Linux but now I require it to run on other Unix boxes also. I dont have option to install any other utility like expect. Pls can someone give Solaris equivalent of the command. Thanks in adv. VIKAS |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change root password using perl script? | Raj1 | Solaris/OpenSolaris | 8 | 06-14-2008 12:01 AM |
| let users change password using perl script? | james bond | Getting started tutorials | 9 | 05-24-2007 11:32 PM |
| How to change the login shell for Linux user | chimu | Getting started tutorials | 0 | 01-26-2007 08:20 PM |
| Shell script to change folder directory owner after restore | marinm | Shell scripting | 5 | 01-23-2007 01:53 PM |
| HP UX user lock password, change password, password aging | rockdalinux | HP-UX | 0 | 12-20-2006 03:36 PM |