HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing GID for two users in NIS
Operating System - HP-UX
1832984
Members
2647
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
Go to solution
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
07-30-2009 10:10 AM
07-30-2009 10:10 AM
Re: Changing GID for two users in NIS
Thanks Ganesan,
SAM worked in this case to just edit the GID for those users. Closing this thread now.
But still does not know how we can achieve this from the Command Line. but after so many posts, i still did not get anything for CLI. I dont know if i could not explain my exact problem to anyone else except Ganesan.
But thanks to all who replied. If someone still has something on it, please reply on it or tell me, i will open a new thread for it.
Thanks
SAM worked in this case to just edit the GID for those users. Closing this thread now.
But still does not know how we can achieve this from the Command Line. but after so many posts, i still did not get anything for CLI. I dont know if i could not explain my exact problem to anyone else except Ganesan.
But thanks to all who replied. If someone still has something on it, please reply on it or tell me, i will open a new thread for it.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2009 07:06 PM
07-30-2009 07:06 PM
Re: Changing GID for two users in NIS
Hi Ranju,
>>>But still does not know how we can achieve this from the Command Line. but after so many posts, i still did not get anything for CLI.<<<
As for as I know, if you want to do it through CLI you should have the source passwd file. Modify the user attributes and run ypmake command to update the changes to NIS maps. We explained this in previous replies. But in your case, you don't have source file. That's why we recommanded you to do it through SAM.
usermod will not work with NIS users. Read this from useradd man page..
http://docs.hp.com/en/B3921-60631/usermod.1M.html
"The usermod command is aware of NIS user and group entries. Only local users and groups may be modified with this command. Attempts to modify an NIS user or group will result in an error. NIS users and groups must be administered from the NIS server. This command may fail with the error"
>>>But still does not know how we can achieve this from the Command Line. but after so many posts, i still did not get anything for CLI.<<<
As for as I know, if you want to do it through CLI you should have the source passwd file. Modify the user attributes and run ypmake command to update the changes to NIS maps. We explained this in previous replies. But in your case, you don't have source file. That's why we recommanded you to do it through SAM.
usermod will not work with NIS users. Read this from useradd man page..
http://docs.hp.com/en/B3921-60631/usermod.1M.html
"The usermod command is aware of NIS user and group entries. Only local users and groups may be modified with this command. Attempts to modify an NIS user or group will result in an error. NIS users and groups must be administered from the NIS server. This command may fail with the error"
Best wishes,
Ganesh.
Ganesh.
- « Previous
-
- 1
- 2
- Next »
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