The nis database file(passwd.adjunct) was modified after executing ypchsh command

Solution Verified - Updated -

Issue

After executing ypchsh command, the nis database file(/var/yp/etc/passwd.adjunct) was modified.

NIS Server:
# cat /var/yp/passwd.adjunct |grep user1
user1:$6$YKN1DF8j$CQuBPmHRzIG4LDY4nDy2GU7x1CbhxxsYq47O7WAnpDyjjPZMf0eS/SkxjhTXQxaB/NP4m4BalzG9T1ZVKFqYT/:17746:0:99999:7:::

NIS Client:
# ypchsh user1
Changing NIS account information for user1 on rhel6-ipa.nisdomain.local.
Please enter root password:

Changing login shell for user1 on rhel6-ipa.nisdomain.local.
To accept the default, simply press return. To use the
system's default shell, type the word "none".
Login shell [/bin/bash]: 

The login shell has been changed on rhel6-ipa.nisdomain.local.

NIS Server:
# cat /var/yp/passwd.adjunct |grep user1
user1:##user1:17751:0:99999:7:::

Environment

  • Red Hat Enterprise Linux 6 and 7
  • ypserv

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.