Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What am I doing wrong with passmass?

Status
Not open for further replies.

brownwrap

Technical User
Oct 10, 2010
3
0
0
US
I followed the thread on passmass. I have it install on both CentOS and Opensolaris. First off, I don't get the defaults. I am prompted for old passwprd, then newpassowrd twice. I have not modified the passmass expect script, I am using it as it came with expect. Here is the line I execute, trying to use it first to change the local passwd. I have linked slogin to ssh:

./passmass -slogin -prompt ":" localhost

And here is what I get:

gcr@Guajome-Dome:/usr/local/src/expect-5.32/example$ ./passmass -slogin -prompt ":" localhost
old password:
new password:
retype new password:
spawn slogin localhost -l gcr
Password:
Last login: Sun Oct 10 12:12:55 2010 from guajome-dome
passwd
Sun Microsystems Inc. SunOS 5.11 snv_111b November 2008
You have new mail.
gcr@Guajome-Dome:~$ passwd
passwd: Changing password for gcr
Enter existing login password: (I typed in existing passwd for gcr)

passwd: Sorry, wrong passwd
Permission denied

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top