Is there a master list of all Debian system users and their UIDs?
How to get List of all Debian system users and their UIDs
I want to avoid reusing a UID that is used by another system user for software I don't have installed yet.
From:https://linuxize.com/post/how-to-list-users-in-linux/Check whether a user exists in the Linux system
/etc/passwd
Now that we know how to list all users, to check whether a user exists in our Linux box we can simply filter the users’ list by piping the list to the grep command.
For example to find out if a user with name jack exists in our Linux system we can use the following command:
- Code: Select all
getent passwd | grep jack
System and Normal Users
There is no real technical difference between the system and regular (normal) users. Typically system users are created when installing the OS and new packages. In some cases, you can create a system user that will be used by some application.
Normal users are the users created by the root or another user with sudo privileges. Usually, a normal user has a real login shell and a home directory.----snip------
LSB wrote:23.3 User ID Ranges
The system User IDs from 0 to 99 should be statically allocated by the system, and shall not be created by applications.
The system User IDs from 100 to 499 should be reserved for dynamic allocation by system administrators and post install scripts using useradd.
VA1DER wrote:I meant all system users for all Debian packages, including packages I have perhaps not yet installed. When a Debian maintainer wants to add a new system user, that maintainer must be able to check a list of all UIDs assigned so that the newly assigned user doesn't conflict. I want to know where that list is maintained.
Users browsing this forum: No registered users and 9 guests