LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   User and group question (https://www.linuxquestions.org/questions/linux-security-4/user-and-group-question-536952/)

flycast 03-12-2007 10:08 PM

User and group question
 
I just installed some software and the files that came with it have are marked as:
user 1001
group 1001

I can edit them as root. I looked at the users did not find a user 1001. I assume that I can always edit a s root ragardless of who the user is. IF these are marked as user 1001 and there is no user 1001 does that mean that all other users cannot edit these files?

Should I change the user to something that makes more sense?

rickh 03-12-2007 10:46 PM

My guess would be that there is actually not a user "named" 1001, but rather that a user has that UID.

Try: $ cat /etc/passwd | grep 1001 ..., and see if that tells you who this user is.

jschiwal 03-12-2007 10:53 PM

I would guess that the software was packaged by a user with a UID & GID of 1001.
You will need to supply more details on what it is you are editing, and what this software is. Usually the install script will chmod programs and libraries to root and install them under /usr/. The only thing one might need to edit would be a config file in /etc/.


All times are GMT -5. The time now is 08:52 AM.