UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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.
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!!!
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.