You are not logged in.

#1 2005-09-27 13:56:05

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Who is 500?

I'm installing a program from scratch, and did a ls -l in the newly installed directory.  It lists one of the files as:

-rwxrwxr-x   1  500  500 13666 2005-08-26 10:06 owl.php

I've run into this before, where the user and group are a number.   

Am I correct that this is an IUD?  Who is user 500?  Who is group 500?  I checked in /etc/passwd, and there is no user 500 there.

Why do some programs install with the numbers instead of a user or group name?

Offline

#2 2005-09-27 14:39:03

twelvegates
Member
Registered: 2005-09-27
Posts: 20
Website

Re: Who is 500?

Maybe this file has been created on a system that has a user with an ID 500.
Or the user that had created the file had been deleted or reassigned another ID.

Offline

#3 2005-09-27 20:54:38

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: Who is 500?

Depending on your OS, UID  500 (or 100) is the first number allocated to a user. numbers below that are reserved for system.
the two 500's you see are UID and GID and would have been allocated as you set up.
so you get the same Group ID as the USer has.

it tells you that you (the first default user) UserID 500 owns the file and it belongs to your (default) GroupID 500 group.

nice info here. many more if you care to google.

smile

Offline

#4 2005-09-28 06:33:11

sudman1
Member
From: Huntingdon, UK
Registered: 2005-02-18
Posts: 143

Re: Who is 500?

Mandrake/Mandriva defaults to 500 for the first UserID on the system. Most others start at 1000.


v/r
Suds

Offline

#5 2005-09-28 16:26:45

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Who is 500?

talk to whoever packaged it and find out if they have a UID 500.... it's most likely from the build system.

Offline

Board footer

Powered by FluxBB