1834828 Members
1753 Online
110070 Solutions
New Discussion

Re: adding an group

 
Robbie Rossouw
New Member

adding an group

Hi there

We are using HP-UX 11i O/S , on trying to add a new group "ftponly" using SAM the system response with group already exists , however when I more /etc/group the group "ftponly" does not exist. Please help!!!
5 REPLIES 5
Bharat Katkar
Honored Contributor

Re: adding an group

Hi,
What GID you are giving to ftponly, whether it is used already. If you are using say 120, try doing
# more /etc/group | grep 120

See if you get any output, if yes then try using another GID.

Regards,


You need to know a lot to actually know how little you know
Chris Wilshaw
Honored Contributor

Re: adding an group

What ID number is being assigned to the group? It's probably this that is showing the duplication error.

Try from the command line

groupadd -g

If either the name or ID number already exists, you'll get the message

Group 'groupname' not unique

of

GID 'group ID' is not unique.
RAC_1
Honored Contributor

Re: adding an group

Check the gid that you are using. check if it already exists in /etc/group or not.

Anil
There is no substitute to HARDWORK
V. Nyga
Honored Contributor

Re: adding an group

Hi,

are you using NIS?
Then check the NIS-server too.

Volkmar
*** Say 'Thanks' with Kudos ***
Robbie Rossouw
New Member

Re: adding an group

Hi there

Thanks for the response I got from all of you, I did create the group "ftponly" using a new GID, and still getting an error "failed to add group "ftponly" This group already exists".