@petsoi@discuss.tchncs.de to Linux@lemmy.ml • 5 months agoWill Linux’s New run0 Command Run sudo Out of Town?www.howtogeek.comexternal-linkmessage-square124fedilinkarrow-up1128arrow-down112
arrow-up1116arrow-down1external-linkWill Linux’s New run0 Command Run sudo Out of Town?www.howtogeek.com@petsoi@discuss.tchncs.de to Linux@lemmy.ml • 5 months agomessage-square124fedilink
minus-square@Kusimulkku@lemm.eelinkfedilink16•5 months agoPrompting for every single command seems like it’d suck
minus-square@wer2@lemm.eelinkfedilink23•5 months agoAlso, you can configure sudo to prompt every time if you really want. I was on a system that was configured that way for “security”, so I would just ‘sudo bash’ which is obviously much safer /s.
minus-squareMadMauricelinkfedilink5•5 months agoMy system is configured that way (by me) and I regularly use sudo -s. I just want to see if there’s a root shell and not rely on some hidden timeout 🙄
minus-square@wer2@lemm.eelinkfedilink1•5 months agoThe beauty of Linux at home, you get to choose what works best for you.
minus-square@TMP_NKcYUEoM7kXg4qYe@lemmy.worldlinkfedilink1•5 months agoYeah I mean at that point it’s redundant because you might as well type su -c “some command here”. On the other hand having such alias does no harm if you’re already using systemd.
Prompting for every single command seems like it’d suck
Also, you can configure sudo to prompt every time if you really want.
I was on a system that was configured that way for “security”, so I would just ‘sudo bash’ which is obviously much safer /s.
My system is configured that way (by me) and I regularly use sudo -s.
I just want to see if there’s a root shell and not rely on some hidden timeout 🙄
The beauty of Linux at home, you get to choose what works best for you.
Yeah I mean at that point it’s redundant because you might as well type su -c “some command here”. On the other hand having such alias does no harm if you’re already using systemd.