LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-31-2008, 04:04 AM   #1
mick463
LQ Newbie
 
Registered: Jul 2008
Location: melbourne
Posts: 23

Rep: Reputation: 15
comand for root in ubuntu


I need the root comand for ubuntu to get from ~$ to # thank you
 
Old 08-31-2008, 04:07 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Read this.
 
Old 08-31-2008, 04:18 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Use sudo. That's what it's for.
 
Old 08-31-2008, 04:43 AM   #4
Fantasio
Member
 
Registered: Nov 2007
Location: Vinsobres - Drome - France
Distribution: SuSE Linux 11.3
Posts: 152

Rep: Reputation: 19
solved it by :
sudo passwd root
 
Old 08-31-2008, 05:17 AM   #5
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Ah, the great sudo wars. Thanks to sudo, someone can now trick people into downloading a harmful script and running it - essentially with root privileges because 'sudo' trusts all sudoers. Maybe I'm being pessimistic - I'm still waiting for news that it's happened.
 
Old 08-31-2008, 07:08 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
On a serious system, sudo restricts you to specific cmds as specified by the sys admin, and you have to give your passwd.
Like any cmd, it can be abused though...
Granting full root access to a user via sudo can be done, but at least it tells you (logs it) who did it, unlike giving them the root passwd.
 
Old 08-31-2008, 08:17 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,089

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
yep
Quote:
ssentially with root privileges because 'sudo' trusts all sudoers. Maybe I'm being pessimistic - I'm still waiting for news that it's happened.
that is a very well known security hole .As far as i know it has YET to be used .Just wait someone will .
su -
su -
su -
 
  


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
Question on dd comand. just.srad Linux - General 3 05-02-2008 07:23 PM
ubuntu, I can no longer become root or have root rights TroelsSmit Linux - Newbie 7 03-24-2007 07:17 PM
ubuntu come up comand line mode Joseph_Man Linux - General 1 02-09-2007 02:49 PM


All times are GMT -5. The time now is 03:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration