Page 3 of 3

Re: Sudo or not sudo?

PostPosted: 2020-10-24 02:59
by hrsetrdr
Onsemeliot wrote:. You still can get it by not creating a root user


I must have been distracted and used the Graphical Install instead of the normal installer.

Re: Sudo or not sudo?

PostPosted: 2020-10-24 06:21
by MALsPa
hrsetrdr wrote:
Onsemeliot wrote:. You still can get it by not creating a root user


I must have been distracted and used the Graphical Install instead of the normal installer.


That part wouldn't matter -- when the user goes with the Graphical install option and the Root password is left blank, you get sudo.

Re: Sudo or not sudo?

PostPosted: 2020-10-24 13:37
by kalle123
Maybe this text should be revised then ...
'You need to set'
Image

br KH

Re: Sudo or not sudo?

PostPosted: 2020-10-24 14:22
by milomak
it is quite clear about what happens when you don't set the password

there is no need to prescriptive

i install sudo and have it use the root password. becomes sometimes i just want to run one command as root.

Re: Sudo or not sudo?

PostPosted: 2020-10-24 19:40
by BradleyGuerr
zocsli62 wrote:Why is it not preferable to use sudo by default in Debian?


it is preferable to use sudo by default in Debian. :D

Re: Sudo or not sudo?

PostPosted: 2020-10-24 20:05
by hrsetrdr
MALsPa wrote:
hrsetrdr wrote:
Onsemeliot wrote:. You still can get it by not creating a root user


I must have been distracted and used the Graphical Install instead of the normal installer.


That part wouldn't matter -- when the user goes with the Graphical install option and the Root password is left blank, you get sudo.


The installer has changed in recent times, an installation would not have progressed if the root password had not been set up.

BradleyGuerr wrote:
zocsli62 wrote:Why is it not preferable to use sudo by default in Debian?


it is preferable to use sudo by default in Debian. :D


Interesting, not so many years ago Debian users were appalled by Ubuntu's default use of sudo.

Re: Sudo or not sudo?

PostPosted: 2020-10-24 21:19
by MALsPa
hrsetrdr wrote:
The installer has changed in recent times, an installation would not have progressed if the root password had not been set up.


My most recent installation was a Buster netinstall in September. I used the Graphical install option and left the Root password blank. The installation did indeed proceed, no Root account, was set, and I'm using sudo on that system. I used this iso: firmware-10.1.0-amd64-netinst.iso

So something has changed since last month? I seriously doubt that.

Re: Sudo or not sudo?

PostPosted: 2020-10-24 21:57
by sunrat
BradleyGuerr wrote:
zocsli62 wrote:Why is it not preferable to use sudo by default in Debian?


it is preferable to use sudo by default in Debian. :D


It's a personal choice, not universally preferable. Ultimately it makes zero difference to the rest of the system.
sudo allows fine-grained control of administrative commands in multi-user systems which may be useful for some.

Re: Sudo or not sudo?

PostPosted: 2020-10-27 19:56
by hrsetrdr
MALsPa wrote:
hrsetrdr wrote:
The installer has changed in recent times, an installation would not have progressed if the root password had not been set up.


So something has changed since last month? I seriously doubt that.


Not last month, "recent times" meaning sometime in the last few years.

Re: Sudo or not sudo?

PostPosted: 2020-11-04 02:44
by streamvn
Bulkley wrote:Personally, I don't like sudo. To me, it's a cheat.


I'm like you, I don't like sudo either

Re: Sudo or not sudo?

PostPosted: 2020-11-17 20:52
by Islander
Dai_trying wrote:I can't directly answer your question but I just wanted to point out that sudo is the default if you do not enter a root password when installing.

I've been using Debian on and off for a decade or two, and I had no idea you could do that!

Thanks!

Re: Sudo or not sudo?

PostPosted: 2020-11-18 13:33
by oswaldkelso
I don't use sudo but I do have the lighter and simpler "doas" utility on my Gentoo machine. I couldn't see a package on Debian but no doubt one will exist.

https://github.com/slicer69/doas
https://i-bsd.com/doas/

Re: Sudo or not sudo?

PostPosted: 2020-11-20 18:10
by Head_on_a_Stick
oswaldkelso wrote:I couldn't see a package on Debian but no doubt one will exist

Unfortunately not, I've checked all the WNPP lists :(

I have packaged it up myself but I'm not comfortable sharing such a security-critical application — my packaging skills are not the best, sadly.

Re: Sudo or not sudo?

PostPosted: 2020-11-20 22:33
by Hallvor
I haven't used sudo since my Ubuntu days, some 14 years ago. I tried sudo again today on a "new" computer, using the command "sudo su -" to enter the root environment with the user password. I like it so far.

Edit: Came across this. Are the points still valid?

https://www.openwall.com/lists/owl-users/2004/10/20/6