HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS- Password problem
Operating System - HP-UX
1836412
Members
2313
Online
110100
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-17-2005 10:05 PM
06-17-2005 10:05 PM
NIS- Password problem
Set up
HP 9000- C3600 workstation
HP Unix 11.0
NIS server
I am trying to reset the user password in NIS after login as root with yppasswd command.But system is asking for the old NIS password of the user.
Need your help in solving this problem
Thanks in advance
Jerry
HP 9000- C3600 workstation
HP Unix 11.0
NIS server
I am trying to reset the user password in NIS after login as root with yppasswd command.But system is asking for the old NIS password of the user.
Need your help in solving this problem
Thanks in advance
Jerry
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 11:30 PM
06-17-2005 11:30 PM
Re: NIS- Password problem
Assuming that NIS passwords are kept in /etc/passwd on NIS server try
# passwd -r files -F /etc/passwd
# cd /var/yp
# make passwd
# passwd -r files -F /etc/passwd
# cd /var/yp
# make passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2005 02:00 PM
06-19-2005 02:00 PM
Re: NIS- Password problem
Hi jerry,
On a client root
could easily be spoofed since NIS has no method of authenticating if this is a
validated client/user/root user. If your NIS master is an HP-UX 10.x, root can use the 'expire password'
functionality in the password field by blanking this field out in the
respective NIS password file.
EXAMPLE:
juser::749:20:Jerry user:/home/juser:/usr/bin/ksh
Or if you are using an HP-UX 11.x, you can change the users password on the
master using the HP-UX 10x method or use the command:
/usr/bin/passwd -r files -F /etc/passwd [username]
If you are using a non-standard password file, other than (/etc/passwd), just
be sure to replace the proper path and name of the password file in the
previous command.
:)
Jino
On a client root
could easily be spoofed since NIS has no method of authenticating if this is a
validated client/user/root user. If your NIS master is an HP-UX 10.x, root can use the 'expire password'
functionality in the password field by blanking this field out in the
respective NIS password file.
EXAMPLE:
juser::749:20:Jerry user:/home/juser:/usr/bin/ksh
Or if you are using an HP-UX 11.x, you can change the users password on the
master using the HP-UX 10x method or use the command:
/usr/bin/passwd -r files -F /etc/passwd [username]
If you are using a non-standard password file, other than (/etc/passwd), just
be sure to replace the proper path and name of the password file in the
previous command.
:)
Jino
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP