Some people find the default root access (sudo) in Ubuntu/Kubuntu distributions little frustrating and would rather prefer to have it the old way, that is by typing su followed by password and then performing the tasks as root.
Here is how it is done:
me@a64untu:~$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
me@a64untu:~$ sudo -i
Now, as root, using your favorite editor, edit /etc/sudoers to enable a root account. You need to add rootpw to the line labeled “Defaults.” (using vim as an example, the command will be)
me@a64untu:~# vim /etc/sudoers
add rootpw to the Defaults line:
#Defaults
Defaults !lecture,tty_tickets,!fqdn,rootpw
Now, you can try out your new root account as usual:
me@a64untu:~$ su
Password:
me@a64untu:/home/me#
As you can see now you have symbol # which states that you are being logged-in as root.
Similar & Related Posts:
- Ubuntu 8.04: Running VMware Server 1.0 and VMware Workstation 6.5
- Automatix2: Installing Popular Applications On Ubuntu Edgy and Dapper
- Tips: Adding Extra Repositories in Ubuntu
- UNIX tips: Learn 10 Good UNIX Usage Habits
- Ubuntu 8.04: Enabling Atheros AR5007 Based Wireless
- openSUSE 10.2: AMD/ATI Drivers Installation
- The Magic of ImageMagick
- SUSE 10.1: ATI Drivers Installation
- Update: AMD/ATI Drivers 8.42/7.10+ Installation (Now with AIGLX support)
- openSUSE 10.2: Automate Insertion of YAST Installation Sources




Get FREE daily updates via Email:
















Sitemap
RSS Feed
By:
CC Licensed