LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-11-2011, 01:53 AM   #1
tuxianD
Member
 
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 02:00 AM.
 
Old 02-11-2011, 05:38 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,252

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
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.
 
  


Reply


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 02:38 AM
Winbind Losing UID & GID Mappings Cyberitas Linux - Enterprise 1 12-22-2007 08:29 AM
Backup Restore: UID & GID are present leebrent Linux - Server 3 11-12-2007 03:09 PM
vpopmail:- How can we efficiently use uid & gid amit_28oct Linux - Networking 4 09-30-2004 02:02 AM
changing uid, gid zeke1955 Linux - General 4 01-10-2004 12:53 AM


All times are GMT -5. The time now is 02:14 AM.

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