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 - 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, 07: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 07:31 AM. Reason: My sentence structure is bad.
 
Old 01-25-2010, 07:25 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 07: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 07:37 AM.
 
Old 01-25-2010, 08:01 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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, 08: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, 09:15 AM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

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



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 06:39 PM
Ubuntu 8.04: Transparent proxy using squid working but block domain not working bleketux Linux - Networking 10 03-16-2009 06:41 AM
./configure command isn't working in command line jumpmansbro Linux - Newbie 20 01-22-2009 08:29 PM
Turning a Ruby on Rails Ubuntu command into a Redhat command Mangalaiii Red Hat 1 12-02-2008 03: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 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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