10 More Discussions You Might Find Interesting
1. AIX
Hi
I want to change password for around 100 users on an aix server.
I have the list of those 100 users with me.
instead of doing
# passwd username
for all the 100 users one by one, can you please help with a script through which we can change the password for all the 100 users in a... (2 Replies)
Discussion started by: newtoaixos
2 Replies
2. Shell Programming and Scripting
for UserName in `cat users` ; do useradd -d /u02 -s /usr/libexec/openssh/sftp-server -G ftp-users $UserName ;
PassWord=$( echo $( tr '' '' <<< ${UserName:0:1} )${UserName:1} ) ;
echo "$PassWord@123" | passwd $UserName --stdin ; done
can some one explain what the bold text do
Please use... (5 Replies)
Discussion started by: James0806
5 Replies
3. Shell Programming and Scripting
Hi All,
I am having Solaris 5.10 acting as NIS.
How do i change multiple user password in NIS in a batch.
I have predefined users with their passwords to be set:
Example:
user1 password1
user2 password2
Pls advise. (0 Replies)
Discussion started by: yogajwa
0 Replies
4. Solaris
I am on SunOS SolarisServer 5.11 11.1 i86pc i386 i86pc , I am trying to change password for a user,but I get the following message.I cannot find any google help on the matter.can anyone help?
root@SolarisServer:~# passwd
passwd: Changing password for stain
Please try again
Please try... (6 Replies)
Discussion started by: cbtshare
6 Replies
5. UNIX for Advanced & Expert Users
Hello - Is this possible on Unix machines? Can we update user password change time? (6 Replies)
Discussion started by: manju--
6 Replies
6. Solaris
Hi All,
How to enforce all users to change their password when they try to login.
I am having Solaris 9 and 10.
Even it would be much better if anyone can say to enforce all users to change their password next morning they login.
Thanks in advance,
Deepak (3 Replies)
Discussion started by: naw_deepak
3 Replies
7. Shell Programming and Scripting
Hi all
I have some 106 users of which i need to change the password of them to a common one. I dont know their paswword. But i need to reset them to a common one. How can i do this with a shell script? It would be a great help if some one can help to sort out this.:b::b:
I know it can be... (0 Replies)
Discussion started by: Tuxidow
0 Replies
8. 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
9. Shell Programming and Scripting
Ok, first off, I'm working on a Vmware ESX server, which I guess is loosely based off of Red Hat 9. But I'm brand new to it (today), so be nice.
I'm trying to write a useradd script that will create some users, generate a password, and set their password to this newly generated password.
... (2 Replies)
Discussion started by: paqman
2 Replies
10. Shell Programming and Scripting
Hi there,
Does anyone know of a way I can become a different user in a script? I need to run a script as one user (not root), and change to another user half way through.
It stops and asks me for the password, and I can't find a way to feed the password in through the script.
Thanks (2 Replies)
Discussion started by: chorgan
2 Replies