- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS root password
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 09:54 AM
03-07-2002 09:54 AM
NIS root password
I have 2 servers with NIS installed. I need to have the master and the client with two different passwords.
I can change the password of the master (from the master and from the server) but I can't change the clients password...
I don't understand much about NIS as you can see....
Any help out there?
Thanks
SN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 10:00 AM
03-07-2002 10:00 AM
Re: NIS root password
Rule Number One: NEVER EVER use NIS to define the root passwd. You will end up with a client that you can't login to.
The normal practice is to leave a few critical entries in the passwd file of each NIS client and then add the '+' entry to the end of the client passwd file for all other users.
You can use other scripting methods to change the root passwd's on remote system but NIS is a very bad idea for root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 10:02 AM
03-07-2002 10:02 AM
Re: NIS root password
you'll have to change the root password of the nis slave server by logging on the nis slave server. The system id passwords are different on both the servers are are not managed by NIS. The user passwords are common on both the servers are are managed by nis.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 10:12 AM
03-07-2002 10:12 AM
Re: NIS root password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 12:47 PM
03-07-2002 12:47 PM
Re: NIS root password
Are you trying to change a user's passwd or root's passwd ?
If you want to change just a user's passwd, just change it on one of the clients, it will automatically update the NIS master as well. (if your NIS configurations are all set properly)
If you face issues (like prompting for old passwd even when you are root) let me know
Krishnan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 03:51 PM
03-07-2002 03:51 PM
Re: NIS root password
1. For root password changes you have to login to NIS server and use passwd command for it.
2. To change client password, you have to login as a user from any of the NIS client machine and then use yppasswd command.
3. You can also change NIS user password by logging in as root on NIS server and giving follwing command
# yppasswd "username"
Thanks,
-Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2002 03:33 AM
03-08-2002 03:33 AM
Re: NIS root password
I am prompt to the old password even being root... if I issue passwd command in the client I end up changing the password of the master server, and that??s not what I want...
conclusion: I am not being able to change the clients password, on both servers I change the masters password.
I hope you can help me....
SN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 10:30 AM
08-25-2003 10:30 AM
Re: NIS root password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 10:48 AM
08-25-2003 10:48 AM
Re: NIS root password
1) Log onto the slave system (or client) as root
2) passwd -r files
It will ask you for the new password. (You should not be prompted for the old password)
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2003 12:58 PM
08-25-2003 12:58 PM
Re: NIS root password
passwd files nis
passwd -r file root