Ramblings about Debian GNU/Linux
Howto enable sudo in Debian
Debian unlike other distros like Ubuntu does not come with sudo enabled by default. That said it is easy enough to set it up.
How to setup sudo:
1) Use visudo to edit your sudoers file
2) Add your user to the sudo group
3) Or you can use gksu, or kdesu on KDE.
Or you can follow the simple steps here:
Debian Reference Chapter 1. - http://www.debian.org/doc/manuals/de..._configuration
Other helpful sudo links:
Another more detailed sudo howto http://forums.debian.net/viewtopic.php?f=16&t=45390
Visudo Manual - http://www.gratisoft.us/sudo/visudo.man.html
Add a User To Group - http://www.cyberciti.biz/faq/ubuntu-add-user-to-group/
Proper way to open apps as root in X - http://forums.debian.net/viewtopic.php?f=16&t=53366
sudo - Debian Wiki - http://wiki.debian.org/sudo
HOWTO - get kdesu back to normal in KDE4 - http://forums.debian.net/viewtopic.php?f=16&t=40158
This one is actually pretty easy. In a terminal here is what you do:
Anywhere you see ## just after that is instructions you do NOT have to type the text directly AFTER the ## signs,
what you have to type will either be BEFORE the ## on a line or the line will have NO ## signs.
Someone just recently pointed out that the correct way to get kdesu is to run:
using that you choose which you want to use kdesu or kdesudo. Learn something new everyday.
How to setup sudo:
1) Use visudo to edit your sudoers file
2) Add your user to the sudo group
Code:
adduser foo sudo
Or you can follow the simple steps here:
Debian Reference Chapter 1. - http://www.debian.org/doc/manuals/de..._configuration
Other helpful sudo links:
Another more detailed sudo howto http://forums.debian.net/viewtopic.php?f=16&t=45390
Visudo Manual - http://www.gratisoft.us/sudo/visudo.man.html
Add a User To Group - http://www.cyberciti.biz/faq/ubuntu-add-user-to-group/
Proper way to open apps as root in X - http://forums.debian.net/viewtopic.php?f=16&t=53366
sudo - Debian Wiki - http://wiki.debian.org/sudo
HOWTO - get kdesu back to normal in KDE4 - http://forums.debian.net/viewtopic.php?f=16&t=40158
This one is actually pretty easy. In a terminal here is what you do:
Anywhere you see ## just after that is instructions you do NOT have to type the text directly AFTER the ## signs,
what you have to type will either be BEFORE the ## on a line or the line will have NO ## signs.
Code:
##first type in: su ##after you hit enter you will see Password: ##<----------- type in your root password here. ##Now you will see your prompt change from a $ to a # sign ##Don't worry, almost done now... ##type: ln -s /usr/lib/kde4/libexec/kdesu /usr/bin/kdesu ##hit enter, then type: exit ##You are now back to your regular user in your terminal. Lets test that puppy out! kdesu dolphin ##The normal kdesu dialog should pop up asking for roots password with the explanation that the program ##dolphin needs root permissions. You can just cancel the dialog box since it was only a test to see if the link ##worked.
Code:
dpkg-reconfigure --priority=low kdesudo
Total Comments 0