Computing.Net > Forums > Solaris > Using passwd in a script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Using passwd in a script

Reply to Message Icon

Name: Franco
Date: July 11, 2003 at 11:45:17 Pacific
OS: Solaris 8
CPU/Ram: E450/2gb
Comment:

Using passwd, I want to be able to change a users password from a script file without keyboard input. I have searched this site and found some different scripts but none work for Solaris 8. It seems that the passwd program will only accept keyboard input.

Does anyone know of a way to do this or an alternate passwd for Solaris?



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: July 13, 2003 at 09:37:12 Pacific
Reply:

Expect is the favored choice for scripting programs that require interaction such as altering the passwd.

You can find it at www.sunfreeware.com


0

Response Number 2
Name: Franco
Date: July 15, 2003 at 05:59:50 Pacific
Reply:

Thank you very much, that's just what I was looking for.

Franco/...


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


how do i detect oracle Installing X Windows



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Using passwd in a script

Can I use awk in a perl script? www.computing.net/answers/solaris/can-i-use-awk-in-a-perl-script/4359.html

Using Encrypted Passwd in FTP scrip www.computing.net/answers/solaris/using-encrypted-passwd-in-ftp-scrip/3665.html

i can not run a script www.computing.net/answers/solaris/i-can-not-run-a-script/4113.html