petsoi@discuss.tchncs.de to Linux@lemmy.ml · 17 days 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 · 17 days agomessage-square125fedilink
minus-squareKusimulkku@lemm.eelinkfedilinkarrow-up16·16 days agoPrompting for every single command seems like it’d suck
minus-squarewer2@lemm.eelinkfedilinkarrow-up24arrow-down1·16 days 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·16 days 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·16 days agoThe beauty of Linux at home, you get to choose what works best for you.
minus-squareTMP_NKcYUEoM7kXg4qYe@lemmy.worldlinkfedilinkarrow-up2arrow-down1·16 days 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.