LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-28-2007, 12:24 AM   #1
placemevinod
LQ Newbie
 
Registered: Jan 2007
Posts: 5

Rep: Reputation: 0
how to get in to the root previledge from any other user


how to get into the root preveledge from any other user say guest who does not havi the root previledge and he does not know even the root password
 
Old 01-28-2007, 12:38 AM   #2
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
Quote:
Originally Posted by placemevinod
how to get into the root preveledge from any other user say guest who does not havi the root previledge and he does not know even the root password
From command shell, can switch to root using $ su, or you can execute a command using $ sudo. Either way, you'll have to enter the root password.

Might be possible to recover the root password, try this article:
http://www.linuxforums.org/security/..._password.html
 
Old 01-28-2007, 01:13 PM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally Posted by wildar
From command shell, can switch to root using $ su, or you can execute a command using $ sudo. Either way, you'll have to enter the root password.
Not necessarily true with sudo. You can enable it so that the user's own password is acceptable and have root privileges.
 
Old 01-28-2007, 01:23 PM   #4
wildar
Member
 
Registered: Jan 2007
Distribution: Mandriva 2008, Mandrake 2005, Ubuntu 8.04.1
Posts: 239

Rep: Reputation: 30
Quote:
Originally Posted by Micro420
Not necessarily true with sudo. You can enable it so that the user's own password is acceptable and have root privileges.
True, but if he doesn't know how to get to root, then he doesn't know how to set the password
 
Old 01-28-2007, 02:08 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
"how to get into the root preveledge from any other user say guest who does not havi the root previledge and he does not know even the root password"

This is not a hackers forum.
 
Old 01-28-2007, 03:49 PM   #6
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally Posted by wildar
True, but if he doesn't know how to get to root, then he doesn't know how to set the password
Not necessarily. Ubuntu doesn't have a root account. An administrator may have given a standard user account sudo access and he could use his own password. I do this with some of my Ubuntu machines. A user creates his/her account, then I add them to the admin group, edit the sudoers file, and they are able to get root privileges with their own password. Having said that, all he has to do is ask the system admin for sudo access and he's all set up. The question is if he's trying to give root privileges to someone else, or if he's asking himself to get root privileges. His question is a little ambiguous.

Last edited by Micro420; 01-28-2007 at 03:51 PM.
 
Old 04-21-2007, 01:14 PM   #7
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

I agree this is not a hackers forum. I agree about Ubuntu not using the root account and getting sudo access to {already set up} users on the system from install. I don't want to hurt anybody with hackers knowledge,...however the answer may look like this... open a terminal and type "sudo passwd root" then when asked "password:" type the password of YOUR logged in username.
 
Old 04-21-2007, 01:41 PM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Why would any admin give a guest the opportunity to gain root acces - whether via su or sudo. Isn't that a really good way to end up with either a rootkit or with a newly formatted drive?

What exactly are you trying to do with this and why do guests need root access?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 04:27 PM
Scanner to work as USER and not forced as ROOT Root (Suse 9.1) 1kyle Linux - Hardware 0 07-10-2004 08:51 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-07-2004 11:11 PM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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