![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| Root Password change | bullz26 | SUN Solaris | 2 | 03-30-2008 11:09 AM |
| How to change ROOT password. | angelofhell | HP-UX | 3 | 02-25-2008 06:44 AM |
| Change root password? | kaugrs | HP-UX | 4 | 02-13-2008 12:16 PM |
| change root password | duke0001 | SUN Solaris | 3 | 02-22-2007 12:10 PM |
| How to change root password on HP UX | mle06 | HP-UX | 4 | 08-11-2006 11:03 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
just for an idea...
#!/usr/bin/expect -f spawn telnet server1 expect "login:" send "root\r" expect "Password:" send "secret\r" expect "server1>$" send "passwd\r" expect "password:" send "new\r" expect "retype password:" send "new\r" expect eof |
|
||||
|
The above script didnot work, we use ssh and NIS+ is our environment.
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|