Sign in to follow this  
hitest

Setting Root Password In Ubuntu/kubuntu

Recommended Posts

If you need to run your Ubuntu/Kubuntu box as root you can do this by entering this at a shell prompt:

sudo passwd

You will be prompted to enter a new Unix password. Now you can log-in as root user in X windows. I must stress that this something that you should not normally do as you can damage your unit running as root user. It is safer to run your Ubuntu/Kubuntu box as a regular user and grant yourself root privileges as needed.

Share this post


Link to post
Share on other sites

Hey hitest. I know that by default you can boot to single-user mode and have a root shell with no password. Will this require the user to enter a password in single-user mode?

Share this post


Link to post
Share on other sites
Will this require the user to enter a password in single-user mode?

I dunno, Matt. :D I haven't tried that.

I have been able to log-in as root in x windows in ubuntu.

This is a security draw back to linux in that anyone can get into your machine if they can get physical access to it (log-in as single user and change your root password).

Share this post


Link to post
Share on other sites

Yes, it is a security drawback, but I'd say with any OS, if someone has physical access to the machine, they they will get in, either by third-part applications or booting from a live OS.

Share this post


Link to post
Share on other sites
Yes, it is a security drawback, but I'd say with any OS, if someone has physical access to the machine, they they will get in, either by third-part applications or booting from a live OS.

Agreed. True enough. I'll take Linux/Unix any day of the week over M$ though:-) IMHO it is better software! :matrix: Actually I'd say that Mac OS 10.5 software is on par with Linux/Unix:-)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this