01-28-2008
Will Password change affect authorized_keys?
Hello gurus,
I have question. I have enabled ssh on the servers.
I am planning to change the oracle user's(os user) password. If I change the password will it affect the authorized_keys? Do I need to regenerate it.
Thanks,
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm tasked to change a user's password on multiple Linux systems (RH v3). I though copying the encrypted password from one Linux /etc/shadow file to another would work but I was wrong.
The long term solution is to establish an openLDAP Directory service, but for now I'm stuck with a manual... (1 Reply)
Discussion started by: benq70
1 Replies
2. UNIX for Advanced & Expert Users
Hey all,
How to reset the password to a given user id ??
I used passwd commands, but now for that user there are 2 passwords. i.e the old and new passwords.
as : passwd mqcfaostt
oldpassword : pass1
new password : pass2
Confirm new password : pass2
Now, su - mqcdaostt is working for... (4 Replies)
Discussion started by: varungupta
4 Replies
3. HP-UX
Hi all,
I need to change the password of any user in one go.
For example in Linux we have two options :-
(echo "username:password") | chpasswd
or
echo $PASS | passwd $USER --stdin
This changes the password without prompting. Actually, I need to make a script which adds a user and... (0 Replies)
Discussion started by: vikas027
0 Replies
4. 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
5. Solaris
Hello All,
I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies
6. Solaris
Are the default password setting parameters (that are in /etc/login.defs) only used when a new local account is created on a server?
It looks to me like a 'useradd userid1' command will look to the /etc/login.defs file to get default values for MINWEEKS MAXWEEKS and PASSLENGTH. If the parms are... (2 Replies)
Discussion started by: msdjunk
2 Replies
7. Red Hat
Hi,
I need the user to change the password giving the old password and the giving the new password... Is this can be done via the chage command. (1 Reply)
Discussion started by: gsiva
1 Replies
8. Linux
Hello People,
How can i make linux's ssh ask a new password when the user's password is expired?
I have some linux servers with this feature working, but other aren't.
I've already tried to use chage -D 0 and other arguments, but it's not working as I expected. (1 Reply)
Discussion started by: alfastar
1 Replies
9. AIX
AIX 6.1
User has a password set.
It needs to be a blank password (no password).
smit passwd
enter user name
at change password and confirm password, just press ENTER
Afterwards, I could not log on with blank password or with original password.
How can I change the password to a... (2 Replies)
Discussion started by: landog
2 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 NETBSD
passwd
PASSWD(1) BSD General Commands Manual PASSWD(1)
NAME
passwd -- modify a user's password
SYNOPSIS
passwd [user]
passwd [-d files | -l] [user]
passwd [-d nis | -y] [user]
passwd [-d krb5 | -k] [principal]
DESCRIPTION
passwd changes the user's password. First, the user is prompted for their current password. If the current password is correctly typed, a
new password is requested. The new password must be entered twice to avoid typing errors.
The new password should be at least six characters long and not purely alphabetic. Its total length must be less than _PASSWORD_LEN (cur-
rently 128 characters). Numbers, upper case letters and meta characters are encouraged.
All options may not be available on all systems.
-d database
This option specifies the password database that should be updated. The following databases are supported:
files This specifies that the password change should be applied to the local password file. When changing only the local password,
passwd uses pwd_mkdb(8) to update the password databases.
nis This specifies that the password change should be applied to the NIS password database. The rpc.yppasswdd(8) daemon should be
running on the master NIS server.
krb5 This specifies that the user's Kerberos 5 password should be changed. The host must be configured to use Kerberos. See
krb5.conf(5).
-l This is the equivalent of -d files.
-y This is the equivalent of -d nis.
-k This is the equivalent of -d krb5.
If a password database is not specified, passwd will change the password database as determined by the Pluggable Authentication Module (PAM)
library.
The type of cipher used to encrypt the password depends on the configuration in passwd.conf(5). It can be different for local and NIS pass-
words.
FILES
/etc/master.passwd The user database
/etc/passwd A Version 7 format password file
/etc/passwd.XXXXXX Temporary copy of the password file
SEE ALSO
chpass(1), login(1), pwhash(1), passwd(5), passwd.conf(5), pam(8), pwd_mkdb(8), vipw(8)
Robert Morris and Ken Thompson, UNIX password security.
HISTORY
A passwd command appeared in Version 6 AT&T UNIX.
BSD
February 25, 2005 BSD