Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-31-2013, 05:14 PM   #1
LQ Newbie
Registered: Jan 2013
Posts: 5

Rep: Reputation: Disabled
Post 502 user does not exist but it owns some directories

Hi all,

I have quite weird problem.
I checked /etc/passwd on my RHEL6 and has NO entry of any user with UID 502.

However, there are some directories owned by this user 502

for example :
drwxr-xr-x. 3 502 domainusers 4096 Feb 1 09:30 folder123

whenever i set ownership to other user (lets say "abc"), after a while, it will revert back to user 502.

I think the problem might related to these conditions:
- it was standalone RHEL, prob i created a local user "abc" (with 502 UID?)
- then it was joined to windows domain, and there is a Active Directory user with identical username "abc"

The question is:
- what mostlikely cause the problem, why it always revert the ownership back to 502?
- how to force delete "none existing" 502 user ?

Thanks in advance....
Old 02-01-2013, 12:43 AM   #2
Registered: May 2007
Distribution: Ubuntu, RHEL, Slackware
Posts: 49

Rep: Reputation: 17
Based on "domainusers" group, I'm suspecting Samba is at work here...

You can use auditd to monitor access to the file and find out what processes/user touches it


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Checking if multiple directories exist amario26 Linux - Newbie 4 04-27-2011 09:12 AM
sabayon user owns nfs share - normal user can't write to share tdos20 Slackware 1 06-21-2008 01:01 PM
User who owns file is 1001 instead of root hi_w_50 Linux - General 7 08-14-2007 12:33 PM
LXer: Developers do not exist, Users much less. Part 1: He who owns the code shall rule them all LXer Syndicated Linux News 0 10-08-2006 03:54 PM
User owns everything in samba share ZeroFill Linux - Software 1 11-26-2005 07:13 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:57 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