LinuxQuestions.org
Visit Jeremy's Blog.
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 09-25-2003, 02:40 PM   #1
ashley75
Member
 
Registered: Aug 2003
Posts: 232

Rep: Reputation: 30
add root user to the existing group


If I have the existing group called dba and oracle. how can I add root to these groups????

thanks
 
Old 09-25-2003, 03:09 PM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Root doesn't need to be put in a group but anyway...

Edit the file /etc/group and add like thus:
apache:x:400:root
This puts root in the apache group.
 
Old 09-25-2003, 08:32 PM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
As I understand, oracle has to be run as user oracle.

You can do as /bin/bash said

or if your using Red Hat (FYI for everyone who is)

Red Hat menu -> System Settings -> Users and Groups

if your not already root you'll have to type the root password
on the groups tab your groups you want to change should be listed.
Highlight the group. click on "properites" button. Click on the "Group Users" tab and put a check mark by the users you want to add to that group

Last edited by darthtux; 09-25-2003 at 08:34 PM.
 
Old 09-25-2003, 09:18 PM   #4
LooseCanon
Member
 
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128

Rep: Reputation: 15
uh where'd you get Redhat 9.1 Darthtux?
 
Old 09-25-2003, 09:40 PM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Burned it off http://www.linuxiso.org
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Adding new group to existing user ALF Linux - Software 7 05-08-2006 09:35 PM
how to add a user to a new group? emanresu Linux - Newbie 5 11-21-2005 08:18 AM
add user to root group - risky? BroX Linux - Security 7 01-07-2005 11:10 AM
add my user account to the root group konabumm Linux - Newbie 2 08-01-2003 11:44 AM

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

All times are GMT -5. The time now is 01:10 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