Does anyone know how to remove a stanza in the shadow password file if the user account has already been removed on an AIX box? I know it can be done by editing the file itself but I would prefer not to do it that way.
cheers
gizaa (2 Replies)
Hi,
I want to append password into /etc/shadow file using a shell script.
My below script does add the users to both /etc/passwd and /etc/shadow but how can I add the hordcoded passwords to /etc/shadow file can some one help me ?
# To add the groups into /etc/group file
for a_user... (5 Replies)
hi,
I had to reset a lost root password by editing the /etc/passwd and /etc/shadow files ( this is a xen vm file, so i mounted and chrooted the file )
after the reboot with an empty password on root , i have set a new password with passwd but
it only changed the /etc/passwd file.... (0 Replies)
We are currently using a script to copy the same encrypted password between our HP-UX and Solaris servers editing the trusted and shadow files directly. The encrypted password is only 13 characters long on both servers and decrypts the same way. Is there a way to copy this same string to Linux... (5 Replies)
Hello,
I want to know the reason behing the scene why some systems have hashed password in /etc/shadow file as "x" not the alienoid language like A1Dksxi3kaA.. (13 characters)
As far as I understand, etc/password will show password as "x" and move all hashed password to etc/shadow.... (8 Replies)
Hi
I wonder whether is possible to generate enrypted passwd for some user and paste it into /etc/shadow file ?
What kind of encryption is used in /etc/shadow file ?
ths for help. (1 Reply)
Today i was going through some of security guides written on linux .
Under shadow file security following points were mentioned.
1)The encrypted password stored under /etc/shadow file should have more than 14-25 characters.
2)Usernames in shadow file must satisfy to all the same rules as... (14 Replies)
Hello,
I have to do a script which returns users who have never changed their password from /etc/shadow.
Here is what have I done and I'm not sure if it's ok.
I tried to return just users who doesn;t have password set or are locked.
Can be there other kind of user who never changed the... (3 Replies)
i have an application that uses the encrypted password that's in the /etc/shadow file.
i copied the line for the particular username i was interested it in from shadow file and i pasted it into the password file of the application. the application is nagios.
this application allowed that... (5 Replies)
Discussion started by: SkySmart
5 Replies
LEARN ABOUT OSF1
yppasswd
yppasswd(1) General Commands Manual yppasswd(1)NAME
yppasswd - change password in Network Information Service (NIS)
SYNOPSIS
yppasswd [name]
DESCRIPTION
Note
If Enhanced Security is enabled on your system, use the passwd command to change your password, even if NIS is in use.
The yppasswd command lets you change your password in the Network Information Service (NIS) map, a network data base service. Only you or
the superuser can change your NIS password.
When you enter the yppasswd command, the program prompts you for the old password and then for the new password. Note that the passwords
are not displayed on the screen.
Next, the program asks you for the new password again, to verify that you have typed it correctly. If you do not type the passwords cor-
rectly, you will receive an error message after you enter the new password.
Your new NIS password must meet one of the following requirements: It must be a combination of at least six alphanumeric characters, or It
must be a minimum of four characters, with at least one being non-alphanumeric, such as a control sequence.
Note
The passwd command does not change the NIS password. This command only changes the local password file (/etc/passwd), and not the NIS mas-
ter password file.
ERRORS
Your new password does not meet the minimum length requirement. You misspelled your new password or its verification. Your new password
can not be activated. It must be different from your old password and your login name.
FILES
Password file NIS directory
SEE ALSO passwd(1), passwd(4), ypfiles(4), yppasswdd(8)
Network Administration
yppasswd(1)