Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] ls lists numbers, not owner names


On Thu, October 23, 2008 10:55 am, DaZZa wrote:

>> -rw-r--r--   1  104  105     0 Jul 27 04:12 freshclam.log
> The username associated with the UID which created/owned those files
> is no longer listed in /etc/passwd. Nor the group in /etc/group.
> clamav:x:104:106:User for clamav:/var/run/hal:/bin/false
> If it doesn't, then there's your issue.

DaZZa, Daniel,

thanks

how to fix, can I recreate clam entry with 'mc' editor ?
or do I need to 'adduser' ?


# grep clam /etc/passwd /etc/group

# grep amavis /etc/passwd /etc/group
/etc/passwd:amavis:x:105:106:Amavis email scan user:/var/amavis:/bin/sh
/etc/group:amavis:x:106:

# grep 104 /etc/passwd /etc/group

# grep 105 /etc/passwd /etc/group
/etc/passwd:amavis:x:105:106:Amavis email scan user:/var/amavis:/bin/sh

# grep 106 /etc/passwd /etc/group
/etc/passwd:amavis:x:105:106:Amavis email scan user:/var/amavis:/bin/sh
/etc/group:amavis:x:106:


-- 
Voytek