LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-25-2010, 08:09 AM   #1
anarionist
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
su command not working in ubuntu 9.10


ok so ive set a password for root after rebooting tried to su in

console and authentication error.

however sudo works fine but if your like me using sudo all the

time starts getting annoying and at times i find myself

apt-getting alot of packages so su is best for me my other 9.10

works fine which i installed from a canoical cd i went through

my normal routine of changing my default user permissions

e.g(add default to everygroup, and set a root password) so after

the first time it wouldn't work i remembered that on my other

9.10 i changed the groups that root was in so i did the same

thing i did with my default user. well it still doesn't work but

i read somewhere that its possible to change it in the console.

any suggestions?

Last edited by anarionist; 01-25-2010 at 08:31 AM. Reason: My sentence structure is bad.
 
Old 01-25-2010, 08:25 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
Welcome to LQ!!

Please break up your sentences---A long run-on sentence is hard to read.

I would simply try again---Once you enable root with "sudo passwd root", then su should switch you to root.

I wonder if Ubuntu resets it---see if it works when you first enable root, but then not after reboot.
 
Old 01-25-2010, 08:32 AM   #3
anarionist
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Original Poster
Rep: Reputation: 0
sorry is that better ? thanks it worked. now i can run nvidia-xconfig. sorry to ask another question but how would i restart the xserver?-- never mind i got it.

Last edited by anarionist; 01-25-2010 at 08:37 AM.
 
Old 01-25-2010, 09:01 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
Quote:
how would i restart the xserver?-- never mind i got it.
I typically, just do ctrl-alt-F1, su to root, and "init 3", then "init 5"

On some systems, you can use ctrl-alt-backspace
 
Old 01-25-2010, 09:36 AM   #5
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by pixellany View Post
Welcome to LQ!!

Please break up your sentences---A long run-on sentence is hard to read.

I would simply try again---Once you enable root with "sudo passwd root", then su should switch you to root.

I wonder if Ubuntu resets it---see if it works when you first enable root, but then not after reboot.
If you like to become root in terminal in UBUNTU 9.10
try the command sudo su enter
password enter
 
Old 01-25-2010, 10:15 AM   #6
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 3,921

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
The officially-supported Ubuntu command for a root shell is:

Code:
sudo -i
(this is assuming you have not enabled the root password)
 
  


Reply

Tags
su


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Feisty - Sound was working, but mysteriously stops working after reboot. woodsy934 Linux - Software 7 07-04-2011 07:39 PM
Ubuntu 8.04: Transparent proxy using squid working but block domain not working bleketux Linux - Networking 10 03-16-2009 07:41 AM
./configure command isn't working in command line jumpmansbro Linux - Newbie 20 01-22-2009 09:29 PM
Turning a Ruby on Rails Ubuntu command into a Redhat command Mangalaiii Red Hat 1 12-02-2008 04:37 PM
Working Grip 3.3.1 settings in Ubuntu 7.10 for FLAC with working meta info robocoop Linux - Software 0 04-06-2008 04:28 PM


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