Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #231278
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Sudo ... use or delete? |
| Date | 2021-01-29 20:50 +0100 |
| Message-ID | <BCHWh-2oC-3@gated-at.bofh.it> (permalink) |
| References | <BCDpD-84t-3@gated-at.bofh.it> <BCDIZ-8qb-1@gated-at.bofh.it> <BCEc2-7Q-13@gated-at.bofh.it> <BCFUu-1co-7@gated-at.bofh.it> <BCGGS-1Iu-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Vi, 29 ian 21, 13:23:19, Roberto C. Sánchez wrote: > > THe chief benefit of sudo is that it makes seeing who did what much > easier. Imagine admin1 uses su to become root and admin2 uses su to > become root. At that point, it is not possible to tell who did what by > looking at command history. With sudo, the invoking user would be > logged, which could help with troubleshooting and figuring out who to > ask why some specific action was taken. For me as sole user the benefits are added safety[1] for the ability to easily mix root and non-root commands as well as the convenience of running select commands without a password (e.g. 'apt update'). It also enables safe editing of system files via 'sudoedit' with my preferred editor fully configured, add-ons, etc.[2], as opposed to choosing between either running the editor as root (safety/security concerns and at least partial duplication of configuration) or using a lesser editor (that might be unsafe/vulnerable as well). [1] arguably added security as well, since previously I might have kept a root shell open all the time. [2] it does mangle filenames though, which may affect file type detection Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Sudo ... use or delete? Peter Ehlert <peter@sdi-baja.com> - 2021-01-29 16:00 +0100
Re: Sudo ... use or delete? Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-29 16:00 +0100
Re: Sudo ... use or delete? Antonio Russo <aerusso@aerusso.net> - 2021-01-29 16:20 +0100
Re: Sudo ... use or delete? <tomas@tuxteam.de> - 2021-01-29 16:50 +0100
Re: Sudo ... use or delete? Eike Lantzsch <zp6cge@gmx.net> - 2021-01-29 18:40 +0100
Re: Sudo ... use or delete? Roberto C. Sánchez <roberto@debian.org> - 2021-01-29 19:30 +0100
Re: Sudo ... use or delete? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-29 20:50 +0100
Re: Sudo ... use or delete? Teemu Likonen <tlikonen@iki.fi> - 2021-01-29 17:00 +0100
Re: Sudo ... use or delete? john doe <johndoe65534@mail.com> - 2021-01-29 17:00 +0100
Re: Sudo ... use or delete? Antonio Russo <aerusso@aerusso.net> - 2021-01-29 17:00 +0100
Re: Sudo ... use or delete? john doe <johndoe65534@mail.com> - 2021-01-29 17:30 +0100
Re: Sudo ... use or delete? Peter Ehlert <peter@sdi-baja.com> - 2021-01-29 18:10 +0100
Re: Sudo ... use or delete? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-29 20:50 +0100
Re: Sudo ... use or delete? Peter Ehlert <peter@sdi-baja.com> - 2021-01-30 14:30 +0100
csiph-web