Sudo or not sudo?

Here you can discuss every aspect of Debian. Note: not for support requests!

Re: Sudo or not sudo?

Postby hrsetrdr » 2020-10-24 02:59

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.
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein).
User avatar
hrsetrdr
 
Posts: 178
Joined: 2007-03-17 15:14

Re: Sudo or not sudo?

Postby MALsPa » 2020-10-24 06:21

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.
MALsPa
 
Posts: 663
Joined: 2007-12-07 19:20
Location: albuquerque

Re: Sudo or not sudo?

Postby kalle123 » 2020-10-24 13:37

Maybe this text should be revised then ...
'You need to set'
Image

br KH
User avatar
kalle123
 
Posts: 230
Joined: 2015-03-21 11:17
Location: Rhineland - Germany

Re: Sudo or not sudo?

Postby milomak » 2020-10-24 14:22

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.
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10
Laptop: Lenovo ideapad Y700-15ISK [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 2073
Joined: 2009-06-09 22:20

Re: Sudo or not sudo?

Postby BradleyGuerr » 2020-10-24 19:40

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
BradleyGuerr
 
Posts: 2
Joined: 2020-10-24 17:34

Re: Sudo or not sudo?

Postby hrsetrdr » 2020-10-24 20:05

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.
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein).
User avatar
hrsetrdr
 
Posts: 178
Joined: 2007-03-17 15:14

Re: Sudo or not sudo?

Postby MALsPa » 2020-10-24 21:19

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.
MALsPa
 
Posts: 663
Joined: 2007-12-07 19:20
Location: albuquerque

Re: Sudo or not sudo?

Postby sunrat » 2020-10-24 21:57

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.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3316
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Sudo or not sudo?

Postby hrsetrdr » 2020-10-27 19:56

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.
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein).
User avatar
hrsetrdr
 
Posts: 178
Joined: 2007-03-17 15:14

Re: Sudo or not sudo?

Postby streamvn » 2020-11-04 02:44

Bulkley wrote:Personally, I don't like sudo. To me, it's a cheat.


I'm like you, I don't like sudo either
streamvn
 
Posts: 1
Joined: 2020-11-04 02:42

Re: Sudo or not sudo?

Postby Islander » 2020-11-17 20:52

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!
Islander
 
Posts: 16
Joined: 2020-10-20 08:29

Re: Sudo or not sudo?

Postby oswaldkelso » 2020-11-18 13:33

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/
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.
User avatar
oswaldkelso
 
Posts: 1280
Joined: 2005-07-26 23:20
Location: UK

Re: Sudo or not sudo?

Postby Head_on_a_Stick » 2020-11-20 18:10

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.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12770
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Sudo or not sudo?

Postby Hallvor » 2020-11-20 22:33

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
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Buster (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Buster (KDE)
User avatar
Hallvor
 
Posts: 1086
Joined: 2009-04-16 18:35
Location: Norway

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable