LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 03-08-2006, 12:13 PM   #1
alanblundell
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Cool SuperUser on ubuntu


Have reinstalled Kubuntu after reorganising my second disk and I cannot figure out how to set a known password for the superuser. I did It some time ago when I first installed Kubuntu but I can't remember how.
Any help appreciate. If I remember correctly I also put a permanent password into sudo, I can't remember how to do that either 8-)
Any help much appreciated.
Alan.
 
Old 03-08-2006, 12:16 PM   #2
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 275

Rep: Reputation: 32
sudu su

sudo passwd root ?

Your sudo password should be the password of the first user created when you installed. In other words, your password. You must have that or you wouldn't have been able to "reorganize" that second disc.

Last edited by Dragineez; 03-08-2006 at 12:20 PM.
 
Old 03-08-2006, 03:43 PM   #3
libhf
LQ Newbie
 
Registered: Dec 2004
Posts: 16

Rep: Reputation: 0
I have the same problem.

When I did the install, I was prompted to create a normal user account with a password for myself, and a root password for administrative work.
Now, in Kubuntu, certain setting changes ask for administrator log in--
I enter my password: "invalid password"
I enter the root password referred to above: "conversation with su failed."

Why did the creators of Ubuntu do this? Why couldnt they just follow what other distros do?
 
Old 03-08-2006, 04:31 PM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
To have a proper root account in Ubuntu or Kubuntu, do
Code:
$sudo passwd root
If using Kubuntu, you can fix the su or kdesu problem by editing /usr/share/kubuntu-default-settings/kde-profile/default/share/config/kdeglobals and adding the lines below
Code:
[super-user-command]
super-user-command=su
Once you have done that, you can get rid of sudo by running visudo and commenting out the privileges that allow users in admin to run all commands on the system.

Last edited by reddazz; 03-09-2006 at 03:18 AM.
 
Old 03-08-2006, 07:57 PM   #5
libhf
LQ Newbie
 
Registered: Dec 2004
Posts: 16

Rep: Reputation: 0
Thanks very much. I will certainly give that a try in both interfaces.
 
Old 03-08-2006, 10:14 PM   #6
libhf
LQ Newbie
 
Registered: Dec 2004
Posts: 16

Rep: Reputation: 0
Thanks! I followed your clear instructions and it works perfectly now, both in Ubuntu and Kubuntu.
 
Old 07-31-2008, 10:03 PM   #7
Algi3rs
LQ Newbie
 
Registered: Jul 2008
Posts: 3

Rep: Reputation: 0
i am using kubuntu 8.04 and i am trying to install the ati driver for a 64 bit card but it says that i need to be logged in as superuser for installation. CAN SOMEONE PLEASE JUST TELL ME HOW TO LOG IN AS SUPERUSER INSTEAD OF ALL THESE USELESS, TIME-CONSUMING WRAPAROUNDS?!! PLEASE!!!
 
Old 08-01-2008, 10:14 AM   #8
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 275

Rep: Reputation: 32
Wraparound?

To what "USELESS, TIME-CONSUMING WRAPAROUND" do you refer? If your login is a sudoer you can su or sudo the command and - voila - it works. Ubuntu does not, by default, have a root account. But you can create one. Login as root - voila - it works.

Please describe the process you're using and perhaps we can help you.
 
Old 08-06-2008, 09:21 AM   #9
texasone
Member
 
Registered: Jun 2008
Location: /home/lorax
Distribution: Debian Testing
Posts: 141

Rep: Reputation: Disabled
I use Debian mostly so I am used to using "su" or "su -" to get super-user permissions. but I am going to be installing ubuntu hardy on a laptop to try to get my parents to switch to linux so I can get rid of windows in my house, just easier for me to be a systems admin of the house when I use that operating system. Will what reddazz said switch from using the user password for admin programs like synaptics, and use just the root password so I can install right on my parents accounts and not have to log on, locally or remotely, and install as it is more time consuming.
Quote:
Originally Posted by reddazz View Post
To have a proper root account in Ubuntu or Kubuntu, do
Code:
$sudo passwd root
If using Kubuntu, you can fix the su or kdesu problem by editing /usr/share/kubuntu-default-settings/kde-profile/default/share/config/kdeglobals and adding the lines below
Code:
[super-user-command]
super-user-command=su
Once you have done that, you can get rid of sudo by running visudo and commenting out the privileges that allow users in admin to run all commands on the system.
Thanx for all help past present and future.

Kyle
#Texasone
 
  


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
Superuser CJ_Grobler Linux - Newbie 7 06-13-2005 10:35 PM
Superuser for Mount? Jskill007 Slackware 5 08-29-2004 11:53 PM
how to add a new superuser? zhebincong Linux - Newbie 11 06-23-2004 04:24 AM
Making a second superuser slickrcbd Linux - Security 4 12-25-2003 01:49 AM
superuser snu *BSD 5 07-22-2003 10:48 PM


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