The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How do i change to super user then revert back to ordinary user ,using shell script? wrapster Shell Programming and Scripting 3 06-04-2008 04:11 AM
Change of user name SunBurntYux Forum Support Area for Unregistered Users & Account Problems 1 06-01-2008 06:12 AM
change user id from 200 to 202 sh_day1 AIX 4 04-01-2008 04:55 AM
User name change? Jmt Post Here to Contact Site Administrators and Moderators 1 12-16-2007 01:38 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-06-2007
RAA RAA is offline
Registered User
 

Join Date: Apr 2007
Posts: 3
NIS User UID Change

Hi All,

I need to change the UID numbers of many NIS users, is there any command to modify the UID in NIS maps ? ( like usermod) so that their file permissions will be same even with their new UID.

If not, how to check all the files owned by particular user in a computer and change the ownership to another user?

Thanks in advance.
Reply With Quote
Forum Sponsor
  #2  
Old 05-06-2007
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,636
Quote:
Originally Posted by RAA
Hi All,

I need to change the UID numbers of many NIS users, is there any command to modify the UID in NIS maps ? ( like usermod) so that their file permissions will be same even with their new UID.
No, you are dealing with identity and ownership these are not the same in Unix.

Quote:
If not, how to check all the files owned by particular user in a computer and change the ownership to another user?
Thanks in advance.
look at the man page for find
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0