HPE GreenLake Administration
Operating System - HP-UX
1832900
Members
2258
Online
110048
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
05-21-2002 03:08 AM
05-21-2002 03:08 AM
NIS
If I were to modify only a user's uid in the passwd file of the NIS master server, would this change be updated to its NIS client machines and NIS slave servers ?
Also, if this change gets updated everywhere within a NIS domain, would this matter result in access problems when accessing the filesystems ?
I did not test this scenario yet as I was not sure if it could result in user access problems to the system, once passwd file is modified.
Is there a way to perform this test safely & surely of modifying the uid in the passwd file, or some other methods, perhaps??
Also, if this change gets updated everywhere within a NIS domain, would this matter result in access problems when accessing the filesystems ?
I did not test this scenario yet as I was not sure if it could result in user access problems to the system, once passwd file is modified.
Is there a way to perform this test safely & surely of modifying the uid in the passwd file, or some other methods, perhaps??
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 03:15 AM
05-21-2002 03:15 AM
Re: NIS
Hi Chern
If you change the UID on the master and rebuild the maps they will be pushed out to the rest ot the network.
This will not chnage the UID associated with the files on the system. To align them you would need to do something like:
find . -user "1700" -exec chown newUID {} \;
I would test this first by creating a few files in the tmp directory and executing the command then doing an ls -l to check whats taken place.
John.
If you change the UID on the master and rebuild the maps they will be pushed out to the rest ot the network.
This will not chnage the UID associated with the files on the system. To align them you would need to do something like:
find . -user "1700" -exec chown newUID {} \;
I would test this first by creating a few files in the tmp directory and executing the command then doing an ls -l to check whats taken place.
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 06:03 AM
05-21-2002 06:03 AM
Re: NIS
If you change the UID for a user, you most certainly will have problems access things. The user's home directory will be effected, as will any files they owned outside of their home directory.
You must remember that unix stores ownership and group information for a file by the numeric UID and GID values, and then when you do an 'ls -l' or something similar, it goes to the passwd file or group file and figures out which user / group belongs to the UID / GID.
Changing a UID, or a GID, can have unknown effects since it is often difficult to know precisely which files a user may somehow own.
You must remember that unix stores ownership and group information for a file by the numeric UID and GID values, and then when you do an 'ls -l' or something similar, it goes to the passwd file or group file and figures out which user / group belongs to the UID / GID.
Changing a UID, or a GID, can have unknown effects since it is often difficult to know precisely which files a user may somehow own.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 10:39 AM
05-21-2002 10:39 AM
Re: NIS
Hi,
Once you update UID on the NIS server, the changes will be pushed on to the slave servers also.
But after changing the UID, the user will not be able to access the files created by him in his group or any other group.
So be careful and dont change the UID.
Piyush
Once you update UID on the NIS server, the changes will be pushed on to the slave servers also.
But after changing the UID, the user will not be able to access the files created by him in his group or any other group.
So be careful and dont change the UID.
Piyush
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