LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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


Closed Thread
  Search this Thread
Old 01-06-2005, 11:11 PM   #1
lewkh
Member
 
Registered: Oct 2004
Posts: 69

Rep: Reputation: 15
How to hack sudo to become root


Hi, I got the problem with the sudo. I already in the sudo list but I have no permission to sudo su , so that Is there anywhere I can break the sudo without root password to become root?

Your help is appreciated and thanks
 
Old 01-06-2005, 11:33 PM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Not to imply anything, but do you know the root password? sudo cannot, AFAIK, be "hacked" (I use the term loosely) to not prompt for a root password without editing the actual program - remember, this is AFAIK and is in no way definitive.
 
Old 01-07-2005, 12:16 AM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Moved: This thread is more suitable in the Security Forum and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 01-07-2005, 05:41 AM   #4
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
If you cannot sudo su, it means that you're not allowed to by your admin.
As simple as that.

If it's your own machine read the sudo manpage and edit the sudo configfile (with visudo mind you) properly.

This is in no way related to security by the way, the software forum is more appropiate.
 
Old 01-07-2005, 11:59 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 259Reputation: 259Reputation: 259
Re: How to hack sudo to become root

Quote:
Originally posted by lewkh
Hi, I got the problem with the sudo. I already in the sudo list but I have no permission to sudo su , so that Is there anywhere I can break the sudo without root password to become root?

Your help is appreciated and thanks
From what your implying, you are not root on this machine and your trying to break into this machine to gain access that clearly wasn't given to you for a reason.

If this is your machine however, read the man page and edit your sudoers file to give your user account the proper access, if not, well, don't ask others to perform illegal activities for you which is clearly against our rules on this site.

http://www.linuxquestions.org/rules.php
 
Old 01-08-2005, 07:20 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
so that Is there anywhere I can break the sudo without root password to become root?
Unless there's a flaw in (your version of) sudo: no.

Thread closed for reasons Tricky stated. Linuxquestions dot org does not condone, aid or encourage in illegal activities.
 
  


Closed Thread


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
how to hack my own root password setlec_seta Mandriva 2 02-25-2005 08:34 AM
Sudo, su and root lesleyb Linux - Security 3 10-18-2004 02:36 PM
Directory access denied to root user: inode hack? netmar Linux - Security 2 07-31-2004 05:53 AM
Process or program to regain root control from chroot() hack? flailer Linux - General 2 09-09-2003 04:42 AM
Process or program to regain root control from chroot() hack? flailer Linux - Security 0 09-07-2003 05:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:20 PM.

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