LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 02-11-2008, 10:23 AM   #1
Mark_667
Member
 
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 12.10
Posts: 260

Rep: Reputation: 25
user is not in the sudoers file after clean install


I've just installed RHEL 4 in a VM, in the process I set a root password, created a user and set it a password. On reboot the display only goes as high as 600x800 so I tried typing
Code:
sudo gedit /etc/X11/xorg.conf
but got
Quote:
blah is not in the sudoers file. This incident will be reported.
I know I am typing the password correctly and haven't modified /etc/sudoers or any users or groups since creating them in the install. Why is this occuring and will adding a user to the wheel group (via visudo) make them an administrator (not what I want)?
 
Old 02-11-2008, 10:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
it's occurring because that's the way it's supposed to work. by default redhat does not use the sudo framework. you would need to modify it yourself. Redhat still utilizes the conventional root user methodology, so su to root or such like.
 
Old 02-11-2008, 11:05 AM   #3
Mark_667
Member
 
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 12.10
Posts: 260

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by acid_kewpie View Post
it's occurring because that's the way it's supposed to work. by default redhat does not use the sudo framework. you would need to modify it yourself. Redhat still utilizes the conventional root user methodology, so su to root or such like.
D'oh! Thanks Acid i'm not used to using RHEL 4 and didn't know you needed to su to root first. Thanks.
 
Old 02-11-2008, 11:16 AM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Ironically enough, it's like Ubuntu and RH take exact opposites to this situation.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian user not in sudoers file... phantom_cyph Linux - General 3 04-08-2007 01:08 PM
I deleted /etc/sudoers and creates a new file call sudoers but now it doesnt for visu abefroman Linux - Software 1 11-10-2005 05:03 PM
sudoers file cactus-bob Linux - Newbie 2 03-11-2004 11:24 AM
help with sudoers file ogden2k Linux - Security 4 03-11-2003 10:39 AM
The Sudoers File Rubicone Linux - Security 0 05-02-2002 06:17 PM


All times are GMT -5. The time now is 07:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration