- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ownerhsip
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
09-03-2001 06:12 AM
09-03-2001 06:12 AM
ownerhsip
Made a BiiiiiiiiiG booboo.....
used command
usermod -u 60001 nobody
This changed all my files & directories to the same userid & groupid from / right down.
PLEEEEAAAAAASSSSEEE help!!!!!!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2001 06:54 AM
09-03-2001 06:54 AM
Re: ownerhsip
usermod command is used to change your user ID ( in your command to 60001 ) so that all files and directories on the server issuing this command will be changed to the new value.
This is a normal behaviour.
If you want to come back to what did you have before, just type the same command with your old user ID ( I hope you remember it ).
If you do not remember your old user ID, restore it from any backup of the file /etc/passwd ( Check if you have Ignite Tape ).
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2001 06:58 AM
09-03-2001 06:58 AM
Re: ownerhsip
this was to interesting to i deside to do it to my computer .
after changing with usermod and then changing it back dont solve the problem because all the file that was own with nobody got 60001 owner .
the uid of user nobody is -2 and it use for nfs .
hope that i will have the answer soon ( have too )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2001 07:03 AM
09-03-2001 07:03 AM
Re: ownerhsip
you can't revert back now...
big sory...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2001 07:03 AM
09-03-2001 07:03 AM
Re: ownerhsip
you can't revert back now...
big sory...
if you have the backup it will help u now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2001 07:29 AM
09-03-2001 07:29 AM
Re: ownerhsip
try to use this command to switch again to the rigth owner of files .
usermod -u -2 nobody .
find . -user 60001 -exec chown root {} \;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2001 07:33 AM
09-03-2001 07:33 AM
Re: ownerhsip
sorry , check it again .
the command usermod change not only the root owner but other owner of group .
restore it from ignite backup or do a cold install .