LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 AM.

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