Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-11-2011, 12:53 AM   #1
Registered: Jul 2006
Location: MumbaI
Distribution: Fedora 14, Solaris 10
Posts: 55

Rep: Reputation: 15
Smile Effect of Changing UID & GID in unix

Hi All,

I have Solaris at my workplace.

Currently Esm was configured.It's listing conflicting configurations against policy standards.

Few of them are like usrid's/guid's of users are below 100 so I am planning to change it above 100.

For eg. I have ops id for an operations team.If I change uid and group id of this particular user/group, do I have to just find files of that particular users/groups ownership and change it accordingly.Or else something elese I have to do.

Will it affect any running applications owned by user/group whose ID I am going to change.

Also there are few ids owned by applications whose secondary gid is 0, how do I proceed with those, as its very risky to change in prod environment.

Last edited by tuxianD; 02-11-2011 at 01:00 AM.
Old 02-11-2011, 04:38 AM   #2
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,261

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
If you change group/user id you must also find and change owners of files. It should not be hard, if users had write access only to their home directories. Some services can also be affected, for example nfs, if you use ids.

Running applications should not be affected, because ids are associated to user during login and to applications on the start of execution, but it depends on application.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem changing mysql uid,gid: mysql start fails gjatute Linux - Newbie 7 02-25-2010 01:38 AM
Winbind Losing UID & GID Mappings Cyberitas Linux - Enterprise 1 12-22-2007 07:29 AM
Backup Restore: UID & GID are present leebrent Linux - Server 3 11-12-2007 02:09 PM
vpopmail:- How can we efficiently use uid & gid amit_28oct Linux - Networking 4 09-30-2004 01:02 AM
changing uid, gid zeke1955 Linux - General 4 01-09-2004 11:53 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration