LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Adding a group. (https://www.linuxquestions.org/questions/linux-newbie-8/adding-a-group-646955/)

HarryBoy 06-04-2008 08:49 AM

Adding a group.
 
I am trying to add a new group so that I can install DBUS. I do the following:

Quote:

groupadd -g 18 messagebus &&
useradd -c "D-BUS Message Daemon User" -d /dev/null \
-u 18 -g messagebus -s /bin/false messagebus
But I am told that:
groupadd: gid 18 is not unique


Is this a problem?
If so what number should I use?
How can I view already added groups on my machine?


Thanks

HarryBoy

Agrouf 06-04-2008 08:59 AM

cat /etc/group | cut -d: -f1,3

HarryBoy 06-04-2008 09:05 AM

Thanks buddy :)


All times are GMT -5. The time now is 11:53 PM.