SUMMARY: Changing a users UID
2007-12-25 5:54:00
Run any of these commands to walk a dir tree and change UID.
find / -user <user id> -exec chown -h username {} \;
find / -user <old UID> -exec chown <new UID> {} \;
Below is my original question
Solaris 9 NIS+ need to change the UID for a bunch of users.
From past experience I've had to change the UID on the NIS+ server then
walk the directory tree on all of my Solaris systems and find the
locations of all of the users files and do a chown. Is there an easier
way? Will also need to change a users username and in the past have had
to do that same as the UID which is a pain.
Thank You.
Dave Martini
LLNL
Comments
Got something to say?
You must be logged in to post a comment.

