LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 02-04-2003, 07:57 AM   #1
ogden2k
Member
 
Registered: Feb 2003
Location: Maine, USA
Distribution: Fedora Core 2
Posts: 34

Rep: Reputation: 15
help with sudoers file


I'm a newbie to linux, but i have SSH setup on my linux box, and when I'm at work or wherever, I can ssh into my box, and it works great.

But, how do I edit the sudoers file? I want to add a usr to it.. thanks for the tips

(I tried looking for the answer in the man pages, but no help there...)
 
Old 02-04-2003, 06:00 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,369
Blog Entries: 54

Rep: Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869
visudo, "man visudo"
 
Old 02-04-2003, 07:02 PM   #3
ogden2k
Member
 
Registered: Feb 2003
Location: Maine, USA
Distribution: Fedora Core 2
Posts: 34

Original Poster
Rep: Reputation: 15
hi, thank you. I got it working now..
 
Old 03-11-2003, 04:50 AM   #4
bostonlabs
LQ Newbie
 
Registered: Mar 2003
Posts: 1

Rep: Reputation: 0
Post Newbie query

We have a Linux Box where we logged in as root and disabled root login. Without keeping the root login session alive, we tried to login as admin (a regular user) and su on to the root.

We know that there is an sudoers file which has to be modified to let admin "su" to root, but since we have already closed the root session we dont know what to do.

Any suggestions?

Boston Labs
 
Old 03-11-2003, 10:39 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,369
Blog Entries: 54

Rep: Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869Reputation: 2869
Bostonlabs, you certainly did the process of sealing off the box the wrong way around... If it is is a remote box and no networked services allow root access only way to get in is to use the remote facilities' admin services to un-fsck it IMHO.

Btw, it's best to start yer own thread else your question might not get noticed, ok.
 
  


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
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
Entries for sudoers configuration file Hikito Linux - Newbie 5 09-17-2004 12:42 PM
sudoers file cactus-bob Linux - Newbie 2 03-11-2004 11:24 AM
Help Editing Sudoers File Rubicone Linux - Newbie 2 05-03-2002 01:50 AM
The Sudoers File Rubicone Linux - Security 0 05-02-2002 06:17 PM


All times are GMT -5. The time now is 01:56 AM.

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