answersLogoWhite

0


Best Answer

When a user who is authenticated using NIS passwords runs passwd to change her password, all appears to work properly, yet the user's password is not changed: The user needs to use yppasswd. The root and system accounts, in contrast, must use passwd to change their passwords. A common solution to this problem is first to rename passwd-for example, to rootpaswd-and then to change its permissions so only a user working with root privileges can execute it. Second, create a link to yppasswd named passwd. You must work with root privileges when you make these changes.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between the passwd and yppasswd utilities?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What command show is the man page for the etcpasswd file and not the passwd command?

Try "man 5 passwd"


What character is used to separate entries in passwd?

You can see this yourself by looking at the passwd file - it is the colon symbol.


How do you change your password in Unix?

passwd


What command will search through etc passwd for all instances of the phrase oot?

grep -i "oot" /etc/passwd (Note, the -i allows the search to be case-insensitive)


Which Linux command can be used to create and reset password for a user?

$ passwd to change your own password:Log in as root to change the password for a user named fred:# passwd fredCommands to add a new user and then set a password for a user named fred:# adduser fred# passwd fred


What command is when you want to change password in UNIX?

passwd


Where are usernames stored in Linux?

In file /etc/passwd


How would you set password restrictions in Linux?

passwd username


What is Linux command ls-file name command?

(ls) means list directory (ls -l) to long list and also used to show file or directory permissions. ========================================================== Tray it ========================================================== [root@localhost /]# ls / ahmedtest boot etc lib media mnt opt root selinux sys usr bin dev home lost+found misc net proc sbin srv tmp var [root@localhost /]# ls /etc/passwd /etc/passwd [root@localhost /]# ls -l /etc/passwd -rw-r--r-- 1 root root 1587 May 27 02:30 /etc/passwd [root@localhost /]# ls -l /etc/passwd -rw-r--r-- 1 root root 1587 May 27 02:30 /etc/passwd [root@localhost /]# ls -n /etc/passwd -rw-r--r-- 1 0 0 1587 May 27 02:30 /etc/passwd


Display all the users who are having account?

cat /etc/passwd


Which Linux file generates two maps in NIS?

/etc/passwd


How to change password by command prompt?

Answer--CD\ CD windows\system32net userE.g.> net user asks mypa$$wordIf there are people near you and you don't want them to see the password you type, enter:net user *E.g. > net user asks *> Type a password for the user:> Confirm the password: