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
02-21-2002 06:33 AM
02-21-2002 06:33 AM
Getting ready to venture into NIS without much experience. The first thing I am doing is getting all my users on the entire platform, into a file and syncing the id number for each user. Now all users will have the same ID number on each machine. Question is, what command can I use to change a users ID number?
Is there a script I can use?
Thanks,
Bob Menefee
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2002 06:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2002 06:39 AM
02-21-2002 06:39 AM
Re: NIS
Try the hp docs site,
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1031-90048/B1031-90048_top.html&con=/hpux/onlinedocs/B1031-90048/00/00/19-con.html&toc=/hpux/onlinedocs/B1031-90048/00/00/19-toc.html&searchterms=NIS&queryid=20020221-064515
Here is the manual,
http://docs.hp.com/hpux/onlinedocs/B1031-90048/B1031-90048.html
Here is a link from itrc,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=150c9cd00716241fb1/screen=ckiDisplayDocument?docId=200000024624829
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2002 06:40 AM
02-21-2002 06:40 AM
Re: NIS
The simple answer is to edit the passwd file or use vipw - a safer version of the same thing BUT make sure that you have a backup copy of the passwd file AND that you are logged in as root in at least two sessions. That way you can get yourself out of trouble just as fast as you got yourself in.
Don't overlook the fact that you are also going to need to run a find -exec script to change the ownership of files on all your boxes when you change UID's/GID's.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2002 06:41 AM
02-21-2002 06:41 AM
Re: NIS
You can do the same with a script:
usermod -u $1 $2
usage:
scriptname desired_uid desired_user
of course you can also use SAM instead.
Allways stay on the bright side of life!
Peter