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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-25-2010, 07:09 AM
|
#1
|
|
LQ Newbie
Registered: Jan 2010
Posts: 2
Rep:
|
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.
|
|
|
|
01-25-2010, 07:25 AM
|
#2
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
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.
|
|
|
|
01-25-2010, 07:32 AM
|
#3
|
|
LQ Newbie
Registered: Jan 2010
Posts: 2
Original Poster
Rep:
|
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.
|
|
|
|
01-25-2010, 08:01 AM
|
#4
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
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
|
|
|
|
01-25-2010, 08:36 AM
|
#5
|
|
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,354
Rep: 
|
Quote:
Originally Posted by pixellany
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
|
|
|
|
01-25-2010, 09:15 AM
|
#6
|
|
Senior Member
Registered: Feb 2009
Posts: 3,138
|
The officially-supported Ubuntu command for a root shell is:
(this is assuming you have not enabled the root password)
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:37 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|