10-25-2012
If Solaris is taking the password only by tty, like ssh, you can circumvent it with an 'expect' script or an "ssh -tt" wrapper (stdin of ssh becomes tty of passwd). You can see where it is reading using truss.
9 More Discussions You Might Find Interesting
1. Solaris
I have a local account for a unix server. The idle timeout for the account is around 10 mins. I have to login to the server multiple times during the day. Is there a way to increase the idle timeout or may be a script that I can run on background so it is not idle. Something like echo date every 9... (3 Replies)
Discussion started by: vinaysa
3 Replies
2. Shell Programming and Scripting
I am trying to create a shell script that will:
check if a specific user already exists
if not, create a specific group and create the user in that group
assign a password to that user, where the password is passed in as a parameter to the script
The problem that I need help with is 3 on... (4 Replies)
Discussion started by: killuane
4 Replies
3. Shell Programming and Scripting
HI I 'm new shall script and unix. I want to create script for change password root by ssh-keygen command . I have 50 servers and I want ot login ot the servers via ssh by type ones password and can login every machines.The script ssh-keygen must ot generate key every weekly than it send new... (2 Replies)
Discussion started by: pellnapook
2 Replies
4. Shell Programming and Scripting
Hello,
To learn ZFS, i try to create pool .
and for that i want create 10 files with 512MB (because i dont have multiple disks and multiple controllers)
ADMIT THAT THIS IS TEN HIGH-PERFORMANCE HARD DRIVES
To get this 10 files,all of them have the same size : 512MB,
I do these... (0 Replies)
Discussion started by: herbich1985
0 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am using Solaris 10 OS and Bash shell.Is there any way can we automate User creation and setting passwords through a script or any freeware tool.
Advance thanks for your response. (1 Reply)
Discussion started by: muraliinfy04
1 Replies
6. Shell Programming and Scripting
Below is my code to create a user account but it doesn't take a password automatically. I have to run the password command seperately to do this
What I want to do is to be able to accept the password in a script.
In linux with the "useradd' command you can give the "-p" flag to accept the... (1 Reply)
Discussion started by: slufoot80
1 Replies
7. Shell Programming and Scripting
:eek:Below is my code to create a user account but it doesn't take a password automatically. I have to run the password command seperately to do this
What I want to do is to be able to accept the password in a script.
In linux with the "useradd' command you can give the "-p" flag to accept the... (1 Reply)
Discussion started by: slufoot80
1 Replies
8. UNIX for Advanced & Expert Users
Hi
I am checking status of sftp in Health check script, sftp command is used to connect the server with secure RSA key, which is successfully get connected most of the time but in some case if RSA key ask for password then I need to exit sftp command after few second and continue to run... (1 Reply)
Discussion started by: ketanraut
1 Replies
9. Solaris
Hi
I have a root script which is setting up user and his dirs and so on. After I create user and set up all the necessary I have to manually set user password. I try all possible ways what google find me and nothing works for me. If maybe one of you have a solution for my problem it will be... (1 Reply)
Discussion started by: Jaffakeks
1 Replies
LEARN ABOUT ULTRIX
yppasswd
yppasswd(1yp) yppasswd(1yp)
Name
yppasswd - change password in yellow pages (YP) service.
Syntax
yppasswd [ name ]
Description
The command lets you change your password in the yellow pages (YP) map, a network data base service. Only you or the superuser can change
your YP password.
When you enter the command, the program prompts you for the old password and then for the new password. Note that the passwords are not
displayed on the screen.
Next, the program asks you for the new password again, to verify that you have typed it correctly. If you do not type the passwords cor-
rectly, you will receive an error message after you enter the new password.
Your new YP password must meet one of the following requirements:
o It must be a combination of at least six alphanumeric characters, or
o It must be a minimum of four characters, with at least one being non-alphanumeric, such as a control sequence.
The command does not change the YP password. This command only changes the local password file and not the YP master password file. See
Chapter 3 of the Guide to the Yellow Pages Service for further information.
Diagnostics
Please use a longer password
Your new password does not meet the minimum length requirement.
Mismatch- password unchanged
You misspelled your new password or its verification.
couldn't change passwd
Your new password can not be activated. It must be different from your old password and your login name.
Files
Password file
Yellow Pages directory
See Also
passwd(1), passwd(5yp), ypfiles(5yp), yppasswdd(8yp)
Guide to the Yellow Pages Service
yppasswd(1yp)