[SOLVED] Deb config question re: sudo installation
DebianThis forum is for the discussion of Debian 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.
I have installed Debian 8 several times. (Normally I use Ubuntu MATE.) I can't ever get past installing sudo, since I'm not root. If I could conquer that, I'd like the idea of using Deb instead of Ubuntu. Any clear (no gaps) counsel?
To install sudo (or anything else) you need to log in as root in the terminal using the su command. Then you need to set up your system to use sudo. Check this wiki link for more information on how to do it.
Oh, and welcome to LQ!
Last edited by Hungry ghost; 09-16-2015 at 04:35 PM.
The answers to most questions you may encounter can be found in the documentation. For sudo in particular, you will need to enable and configure it, if you need it. Otherwise log into the root account to do administrative tasks. Enter su, then the password when prompted. The $ will change to a #, meaning you are using the root account. When finished your administrative tasks, log out with the word exit.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
I think if you use the alternate installer it gives the option of installing with no root account enabled -- so it's set up just like Ubuntu. I don't recall exactly which installer it is though, sorry, but I know I've seen it on a Debian installer.
I think if you use the alternate installer it gives the option of installing with no root account enabled -- so it's set up just like Ubuntu.
I got the option to leave the root password unset (and, thus, install a system that uses sudo "ITMOTB", i. e., "In The Manner Of The 'Buntus") when I installed Debian 8 from the XFCE CD 1, without having to hunt for some kind of an alternate installer.
You do have to pay attention to the text that gets displayed when you arrive at the step to set the password, though, or you will miss the option to leave the root password unset.
I seem to remember that this option was already present in the Debian 7 installer (even though I could be wrong), but I'm pretty sure that earlier releases didn't have it.
Yes, previous versions would enable sudo during installation if a root password was not entered (resulting in a system that used Ubuntu-style sudo abuse). It was not explained during installation, because it was assumed a root password would be entered and if sudo was needed, it would be enabled and configured properly.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by luvr
I got the option to leave the root password unset (and, thus, install a system that uses sudo "ITMOTB", i. e., "In The Manner Of The 'Buntus") when I installed Debian 8 from the XFCE CD 1, without having to hunt for some kind of an alternate installer.
You do have to pay attention to the text that gets displayed when you arrive at the step to set the password, though, or you will miss the option to leave the root password unset.
I seem to remember that this option was already present in the Debian 7 installer (even though I could be wrong), but I'm pretty sure that earlier releases didn't have it.
Ah, that was it was it? It's been a few months since I installed on this machine and I don't recall which installer I used.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.