10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Folks,
I am trying to change the password for the user "sysservice"
Where my requirement is login to each server and exit from that and ssh to the next server.. I have enabled the password less auth for the user sysservice.
for i in `cat /home/sysservice/servers.txt`
do
ssh... (1 Reply)
Discussion started by: gsiva
1 Replies
2. Shell Programming and Scripting
Can any one please let me know the shell script to change the password for a particular user on multiple linux servers. (2 Replies)
Discussion started by: s_madras
2 Replies
3. Shell Programming and Scripting
Hi Experts,
I had tried to executes this script to change the user password through script:
No lines in buffer
#!/bin/ksh
cat /etc/passwd | grep -v userid >> /tmp/pass.tmp1
cat /etc/passwd | grep userid >> /tmp/pass.tmp2
PASS1=`cat /tmp/pass.tmp2 | cut -d ":" -f2`
PASS2=`q2w3e4r5`
sed... (3 Replies)
Discussion started by: indrajit_renu
3 Replies
4. Red Hat
RHEL 5 update 4. How to force a user to change the password at his next logon.
Thanks in advance. (8 Replies)
Discussion started by: uxadmin007
8 Replies
5. Shell Programming and Scripting
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies
6. Shell Programming and Scripting
hi
by modifying /etc/shadow
how can I Force a change of password so that user has at least 1 week to login?
I did it by using:
echo "enter username to force password change"
read user;
chage -M 7 $user;
How can I do it by modifying /etc/shadow?? (6 Replies)
Discussion started by: tjay83
6 Replies
7. UNIX for Dummies Questions & Answers
Using Solaris 9 and 10.
What we want to do is set up global rules for our password files to restrict all users, not only new ones set up with the rules but also the ones that have been sitting on the system for years.
Is there a global way to force all users to change their password every 90... (1 Reply)
Discussion started by: LordJezo
1 Replies
8. Shell Programming and Scripting
Hi All,
I have a problem.
I need to write a shell script to change the password. The user may want to change his own password by this script.
He will have to provide the required 3 parameters i.e. old password, new password and retype new password as arguments in command line.
like,... (6 Replies)
Discussion started by: pintu_asim
6 Replies
9. UNIX for Advanced & Expert Users
Hi,
I notice in my Sun Solaris 8 sparc worstation, I am able to change my password to same existing password.
That is, right now my password is abc, and I change it with "passwd" command and change it abc again. It will accept.
How can I make it such that it will not accept same password?... (3 Replies)
Discussion started by: champion
3 Replies
10. UNIX for Advanced & Expert Users
Hello,
I just finished adding a bunch of new users to the linux servers I administer. I add users either via command line or via linuxconf, but I can't seem to find out how to force users to change their passwords on their first login to the system.
Anyone know how to do that? My HP-UX... (1 Reply)
Discussion started by: vancouver_joe
1 Replies