You are not logged in.
Pages: 1
I'm packaging an application (http://ilk.uvt.nl/mbt) which acts as a server. I'd like to create a specific user and group for it called mbt. How do I make sure it doesn't conflict with existing users and groups (cfr. group ids, ...)?
Offline
Offline
Let {group,user}add pick the ID for you (don't specify -g## or -u##, respectively) if you don't want it to conflict. You can use getent to view chunks of the appropriate user/group databases and check for existance of the name itself.
Unless you need to set ownership in the package to the new UID/GID. I have to do this in the amanda package.
I look at this page when I'm doing these kind of things, but it's outdated AFAIK, and it's no guarantee there wouldn't be a clash even if it was up to date.
http://wiki.archlinux.org/index.php/Dev … D_Database
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
I'll just check whether the user and group already exist and let groupadd/useradd determine the id. That should suffice.
Offline
Pages: 1