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
1845516
Members
2434
Online
110244
Solutions
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Forums
Categories
This widget could not be displayed.
Company
This widget could not be displayed.
Local Language
This widget could not be displayed.
back
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
back
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Blogs
Information
This widget could not be displayed.
This widget could not be displayed.
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
- This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.
- 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 2026 Hewlett Packard Enterprise Development LP