Search Results

Search: Posts Made By: rswain
Forum: Solaris 02-28-2008
17,024
Posted By rswain
To hardcode the password in a script use the...
To hardcode the password in a script use the expect command.

A google on solaris expect will give heaps of examples.

Solaris 10 dvd has expect 5.39 on it.

Don't forget to check return codes
Forum: Solaris 02-23-2008
5,636
Posted By rswain
Passwords are held in the /etc/shadow, owned by...
Passwords are held in the /etc/shadow, owned by root and permission 400.

Man -a password will give you the layout of the colon separated fields.

Note the number in the expiry field is the...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy