petsoi@discuss.tchncs.de to Linux@lemmy.ml · 6 months agoWill Linux’s New run0 Command Run sudo Out of Town?www.howtogeek.comexternal-linkmessage-square125fedilinkarrow-up1128arrow-down112
arrow-up1116arrow-down1external-linkWill Linux’s New run0 Command Run sudo Out of Town?www.howtogeek.competsoi@discuss.tchncs.de to Linux@lemmy.ml · 6 months agomessage-square125fedilink
minus-squareKusimulkku@lemm.eelinkfedilinkarrow-up16·6 months agoPrompting for every single command seems like it’d suck
minus-squarewer2@lemm.eelinkfedilinkarrow-up24arrow-down1·6 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-squareMadMaurice@discuss.tchncs.delinkfedilinkarrow-up5·6 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-squarewer2@lemm.eelinkfedilinkarrow-up1·6 months agoThe beauty of Linux at home, you get to choose what works best for you.
minus-squareTMP_NKcYUEoM7kXg4qYe@lemmy.worldlinkfedilinkarrow-up2arrow-down1·6 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.