Re: dba group already exists in linux

From: Jared Still <jkstill_at_gmail.com>
Date: Tue, 30 Sep 2008 15:43:47 -0700
Message-ID: <bf46380809301543w134230cct641c6f99f74e08ac@mail.gmail.com>


On Tue, Sep 30, 2008 at 1:42 PM, Jared Still <jkstill_at_gmail.com> wrote:

>
> We are setting up a new linux box for Oracle, the following message
> appears when trying to create the dba group:
>
> [root]# groupadd -g 300 dba
> groupadd: group dba exists
>
>

The fix was deceptively simple:

Do it the old fashioned way by editing /etc/group.

  [root_at_ordb03 etc]# touch x; chgrp dba x; ls -l x; ls -lsn x   -rw-r--r-- 1 root dba 0 Sep 30 15:42 x   0 -rw-r--r-- 1 0 300 0 Sep 30 15:42 x

(dba was set to 300 in /etc/group)

Thanks for all the suggestions.

Next time I forget how to do this, it will be documented in Oracle-L archives. :)

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Sep 30 2008 - 17:43:47 CDT

Original text of this message