10-02-2015
User password reset
Hello -
I want to reset user password in multiple server via root ID. I have passwordless authentication for root between all the servers.
I an use loop to reset the password. I am using below command in loop
echo mypassword | passwd username --stdin
However, if anyone sees history - he can see the password ?
Anyway - I can set a encrypted password ?So, that noone can see it in history
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Hi Moderators,
I forgot the login password and am accessing the forum page through save form password credentials.
Could you please reset my password ?
Thanks,
:) (5 Replies)
Discussion started by: matrixmadhan
5 Replies
2. Shell Programming and Scripting
Is there anyway that I can reset user's password using a script/ssh command?
ie. emulate passwd command with a default password of abc123 or even null value?
> ssh server1 pwdadm user1 < /dev/null
or
> ssh server1 passwd user1 < /dev/null
neither worked for me.. but you know what I... (1 Reply)
Discussion started by: pdtak
1 Replies
3. Solaris
hi,
i am unable to reset one of my server user password.
whenever i make a "passwd username" i get the following
error
========================================
New Password:
Re-enter new Password:
Permission denied
========================================
please advise.thanks... (6 Replies)
Discussion started by: cromohawk
6 Replies
4. Solaris
Hey all,
I'm looking for a script to auto-generate a password for users that forget their password.
Currently, we are using a perl script (with cgi-bin) where users update their password, but would like to add to this and make it so that the users can also request a password reset and a... (1 Reply)
Discussion started by: em23
1 Replies
5. UNIX for Advanced & Expert Users
Can anyone tell me if it is possible to have cron change your password every month from an encrypted list of passwords?I have several servers I hardly ever go near but when I do the password has always expired and it takes a long time to get the administrators to reset it for me. I was thinking... (4 Replies)
Discussion started by: steadyonabix
4 Replies
6. Shell Programming and Scripting
Hello, everyone i have a little scenario and would like help ,
SCENARIO
OS : SunOS 5.10
Shell: KSH
UserName 1 connects to Server1 .He should run a little command or somthing to server2 that Resets the password of user2.
i have tried this :
ssh user@server2 '/usr/local/bin/sudo passwd... (0 Replies)
Discussion started by: shatztal
0 Replies
7. Solaris
Hello, everyone i have a little scenario and would like help ,
SCENARIO
OS : SunOS 5.10
Shell: KSH
UserName 1 connects to Server1 .He should run a little command or somthing to server2 that Resets the password of user2.
i have tried this :
ssh user@server2 '/usr/local/bin/sudo passwd... (2 Replies)
Discussion started by: shatztal
2 Replies
8. OS X (Apple)
So my dad bought an iMac from my mom, but she does not know the admin password anymore. I read on the apple forums that I should look here for help on resetting the password. The iMac runs OSX 10.6.3. I would really appreciate any help. Thanks (3 Replies)
Discussion started by: PhsycoDragon
3 Replies
9. UNIX for Beginners Questions & Answers
Hi,
We have two LDAP servers. Whenever we get a ticket to reset the password, we login to LDAP primary server and reset the password. For below example, I logged into primary LDAP server and resetting password to john to Welcome123#
We are giving this work to tier-1 team, so that they can reset... (1 Reply)
Discussion started by: ron323232
1 Replies
10. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
LEARN ABOUT DEBIAN
nwclient
NWCLIENT(5) nwclient NWCLIENT(5)
NAME
nwclient - configuration file for NWClient program suite
DESCRIPTION
This manual page describes the rather simple format of the file $HOME/.nwclient, the configuration file for the NWClient program suite.
FILE FORMAT
The file $HOME/.nwclient consists of several lines, each describing a NWClient connection. Lines beginning with # and empty lines are
ignored as comments.
Because you can store passwords in .nwclient, the user programs will only scan .nwclient when only the file owner has access rights to the
file. The file must be have permissions 0600.
To specify a NWClient connection, the name of the file server, the user name to be used and a password is necessary. The server name and
the user name are specified as SERVER/USER, and the password is separated by a blank. The password field can be omitted. In this case the
user programs will ask you for a password. If you specify the password to be just a dash, then no password is used.
The first valid specification has a special meaning: If the user does not name a server on the command line, the first specification is
used as a 'preferred connection'.
An example might be the following:
# The preferred connection, the user is asked
# for a password
FS311/ME
# And a passwordless account on another server
CD-SERV/GUEST -
With these lines in $HOME/.nwclient, calling 'ncpmount /mnt' will mount the the file server FS311 with user name ME on /mnt after asking
the user for a password.
ncpmount -S cd-serv /cd will silently mount the server cd-serv on /cd.
nprint, pqlist and other user programs that require a valid login also look up $HOME/.nwclient to find a file server, a user name and pos-
sibly a password.
Please note that the access permissions of .nwclient MUST be 600, for security reasons.
SEE ALSO
ncpmount(8), ncpumount(8), slist(1), pqlist(1), nprint(1)
nwclient 12/27/1995 NWCLIENT(5)