LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-30-2005, 02:14 PM   #1
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Rep: Reputation: 30
add user to the group


I recently had two groups (oinstall and dba), how can I add the root user to these groups????


thanks
 
Old 03-30-2005, 02:15 PM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
/etc/groups
 
Old 03-30-2005, 02:22 PM   #3
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Original Poster
Rep: Reputation: 30
I am there but how????
sorry I am new with Linux



...........
............
..........

piranha:x:60:
netdump:x:34:
oinstall:x:500:
dba:x:501racle
oper:x:502:


I am not sure how to add them in here???
 
Old 03-30-2005, 02:38 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
My question would be, why would you need to add the root user to these groups? root has access to everything no matter, so adding them to these groups unless its required by a service on the server or host, I don't see the point.

Though adding users to these groups would make more sense, to those who would need access to files and directories owned by the groups in question..

But to add users to these groups manually, you'd simply add them to each group.. like this:

Code:
piranha:x:60:
netdump:x:34:
oinstall:x:500:root
dba:x:501:oracle,root
oper:x:502:
 
Old 03-30-2005, 02:42 PM   #5
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Original Poster
Rep: Reputation: 30
thanks,

the reason I add root to these group b/c I wrote a shell to startup/shutdown the database automatically for Oracle
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to list user in Linux box, add an user to a group! steady_lfcfan Linux - Newbie 12 01-27-2013 01:14 PM
how to add a user to a new group? emanresu Linux - Newbie 5 11-21-2005 08:18 AM
add user to group brandnewbie Linux - Newbie 3 08-08-2004 04:53 PM
how do i add user to a group jogurt666 Linux - General 2 04-02-2004 10:05 PM
how to add a user to a certain group? feetyouwell Linux - Software 2 01-13-2004 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration