Ask Your Question
0

How do you make a user member of group called DBA?

asked 2013-10-09 12:51:01 -0500

mthomas1a gravatar image

To start an installed Oracle service, the user account has to be a member of a group called DBA. How are user accounts added to a group?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2013-10-10 05:00:37 -0500

cobra gravatar image

updated 2013-10-10 05:01:39 -0500

While using gpasswd and usermod might provide the solution you seek, you should also be aware of which system is providing your passwords. If you're using NIS or LDAP authentication, you may find that the DBA group is defined on a different machine. In this case you should update the server that carries the information.

If you run 'authconfig' as root, it'll show you what is defined for user and group authentication, whether its on a different machine and whether you're using local accounts.

Sometimes it's a local group called DBA, with usernames listed from the NIS or LDAP system. If that's the case, then you can use the previously specified methods to make this change.

There is another alternative too - if you prefer a GUI tool, then try 'system-config-users'.

edit flag offensive delete link more
0

answered 2013-10-09 13:34:15 -0500

nonamedotc gravatar image

Alternatively, gpasswd -a username dba

You can also look in to the man pages for additional options within the group.

edit flag offensive delete link more
0

answered 2013-10-09 12:57:57 -0500

none gravatar image

As root execute: usermod -aG dba username

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-10-09 12:51:01 -0500

Seen: 1,910 times

Last updated: Oct 10 '13