Sudo or not sudo?

Here you can discuss every aspect of Debian. Note: not for support requests!
Posts: 24
Joined: 2020-10-20 08:29
Has thanked: 7 times

Re: Sudo or not sudo?

#41 Post 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!


User avatar
Posts: 1322
Joined: 2005-07-26 23:20
Location: UK
Been thanked: 1 time

Re: Sudo or not sudo?

#42 Post 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.
Free Software Matters
Ash init durbatulûk, ash init gimbatul,
Ash init thrakatulûk agh burzum-ishi krimpatul.

User avatar
Posts: 13446
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Sudo or not sudo?

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

Debian buster-backports ISO image: for new hardware support

User avatar
Posts: 1259
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 6 times
Been thanked: 16 times

Re: Sudo or not sudo?

#44 Post 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?
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Bullseye (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Bullseye (KDE)

User avatar
Posts: 5410
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: Sudo or not sudo?

#45 Post by edbarx »

People communicate using words grammatically arranged in sentences, paragraphs, chapters and even books. Yet, some peope find it difficult to use a textual command in a terminal! I cannot understand, struggling with a maze of graphical windows is harder to me, especially, those 'new age' little images, which expect users to remember what they stand for. Using a dumb-phone, err no, a smart-phone, is one such glaring example. Humanity has evolved to use languages, use those. However, it seems, the whole world is at full speed to go back to when it only communcated using body movements and images.

Sorry, I cannot understand this perverted form of progress.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.

Posts: 521
Joined: 2020-05-03 14:16

Re: Sudo or not sudo?

#46 Post by LE_746F6D617A7A69 »

Hi edbarx - it's good to see that You're still around ;)

1. I was really surprised when for the first time I've reviewed the sudo program code - it is unbelievably big and complex program.
IMO using sudo is far more safe than direct usage of root account, f.e. because by default it limits the time for password-less access with root privileges.

2. The UINX language (IMO) is the most advanced method for users to interact with the computer. The problem is, just like in case of any other foreign language, that the users have to learn it.
Most of people are *not* willing to use command line interface, because they don't know the UNIX philosophy: knowing only a few tens of "words" from the UNIX language allows to "ask" the system to do just anything, starting from listing directory entries and ending with complex OS queries, similarly to what SQL offers -> the only limit for the query content is the user's imagination.
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed

Post Reply