03-24-2017
Greetings
Quote:
Originally Posted by
rbatte1
Would it not be easier to have a procedure that blanks the root password after the recovery from the GI is done?
Either would be work; do you have the code to do so (or can point me to a doco I may use to build my own)?
m
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. Answers to Frequently Asked Questions
We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
Discussion started by: Perderabo
0 Replies
4. AIX
Hi, yesterday, I changed root's shell in /etc/passwd, cause a mistake then I can not log in root account (can't find correct shell). I attempted to log in single-mode, however, it prompted for single-mode's password then I type root's password but still can not log in.
I'm using AIX 5L version 5.2... (2 Replies)
Discussion started by: neikel
2 Replies
5. Shell Programming and Scripting
hi
How can I force user to change of password by modifying the password expiry and the grace period so that the
user has at least 1 week to login and change the password...... (3 Replies)
Discussion started by: tjay83
3 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. Solaris
Hello All,
How to force user to change his login passwd on his first login in solaris 10 ?
while adding user do we need to set the password in theis case?? (7 Replies)
Discussion started by: saurabh84g
7 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
Im having trouble setting up an FTP server and forcing SSL. At the moment i can connect to the server externally using normal FTP but when i try FTP with SSL i get
STATUS:> Connected. Exchanging encryption keys...
ERROR:> SSL: Error in negotiating... (5 Replies)
Discussion started by: mokachoka
5 Replies
9. 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
10. UNIX for Beginners Questions & Answers
i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet.
and do i have to use the # chgkey -p afterwards?
i need to patch is why i am asking.
thanks (1 Reply)
Discussion started by: goya
1 Replies
LEARN ABOUT HPUX
yppasswd
yppasswd(1) General Commands Manual yppasswd(1)
NAME
yppasswd - change login password in Network Information System (NIS)
SYNOPSIS
[name]
Remarks
The Network Information Service (NIS) was formerly known as Yellow Pages (YP). The functionality remains the same; only the name has
changed.
DESCRIPTION
changes or installs a password associated with the login name in the Network Information System (NIS). The NIS password can be different
from the one on your own machine. If name is omitted, it defaults to the name returned by (see getlogin(3C)).
prompts for the old NIS password (even if it does not exist), then twice for the new one. The old password must be entered correctly for
the change to take effect. Checks occur to ensure that the new password meets the following construction requirements.
o Only the first eight characters are significant.
o A password can be as few as four characters long if it contains
o at least one special character or
o a mixture of numeric, uppercase and lowercase letters.
o A password can be as few as five characters long if it contains a mixture of
o uppercase and lowercase letters or
o numeric and either uppercase or lowercase letters.
o A password must contain at least six characters if it contains only monocase letters.
All these rules except the first are relaxed if you try three times to enter an unacceptable new password. You cannot, however, enter a
null password.
Only the owner of the name or the superuser can change a password.
The Network Information System password daemon, must be running on the master NIS password server to change NIS passwords. See yppass-
wdd(1M).
WARNINGS
The password update protocol passes the old and new passwords to the master NIS server at once. Thus, if the old NIS password is incor-
rect, no notification is given until the new NIS password is successfully entered.
The password construction rules are different from those of the HP-UX command (see passwd(1)).
The root user's password cannot be changed using or Therefore, root users must change their password in the files database and then recon-
struct the NIS maps using the command. For more information on how to use the command, see ypmake(1M).
User applications that call this routine must be linked with For example,
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
id(1), passwd(1), su(1), yppasswdd(1M), getlogin(3C), yppasswd(3N), ypfiles(4).
yppasswd(1)