- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS password update problem
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
Discussions
Forums
Discussions
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
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
01-30-2003 01:11 PM
01-30-2003 01:11 PM
passwd
it comes back and asks me for the Old NIS Password. As root on the master, it should let me do this without asking for the old password. This has worked correctly for a long time and just started to act up.
Any ideas would be greatly appreciated. The NIS server is running HPUX 10.20.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 01:35 PM
01-30-2003 01:35 PM
Re: NIS password update problem
echo $PATH should show that /bin is before /usr/bin with the root user.
If the path was setup properly, root would run the binary /bin/passwd and no old NIS password would be required.
root is obviously running /usr/bin/passwd which will call yppasswd on detection of NIS.
To test this, try the following:
as root
/bin/passwd
/usr/bin/passwd
/usr/bin/yppasswd
If you need to keep your path setup with /usr/bin ahead of /bin, then use the absolute path of the passwd program root should be using when changing users passwords.
E.G.
/bin/passwd
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 01:55 PM
01-30-2003 01:55 PM
Re: NIS password update problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 02:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 02:07 PM
01-30-2003 02:07 PM
Re: NIS password update problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 02:12 PM
01-30-2003 02:12 PM
Re: NIS password update problem
ll /sbin/passwd
-r-sr-xr-x 1 root bin 229376 Nov 7 1997 /sbin/passwd
ll /usr/bin/passwd
-r-sr-xr-x 5 root bin 49152 Apr 9 1998 /usr/bin/passwd
The size of /bin/passwd should match the one in /usr/bin.
/sbin/passwd is a statically compiled program, hence much larger.
Permissions as root should not matter.
I wonder if someone tampered with your system?
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2003 09:08 AM
04-10-2003 09:08 AM