Maddison@sh.itjust.works to Linux@sh.itjust.works · 1 year agoShould you or should you not post multiple commands at once?message-squaremessage-square6fedilinkarrow-up15arrow-down10file-text
arrow-up15arrow-down1message-squareShould you or should you not post multiple commands at once?Maddison@sh.itjust.works to Linux@sh.itjust.works · 1 year agomessage-square6fedilinkfile-text
minus-squareMaddison@sh.itjust.worksOPlinkfedilinkarrow-up3·1 year agonice thank you for teaching me something
minus-squareLastYearsPumpkin@feddit.chlinkfedilinkarrow-up2·1 year agoThe other advantage to writing a script is you can assign a “sudo rule” to your account so you can run it without typing a password. This would set that one script as passwordless sudo, without compromising the security of other things on the server. Of course, this is all assuming you’re doing it more than once, and in a more critical environment.
minus-squareMaddison@sh.itjust.worksOPlinkfedilinkarrow-up1·1 year ago The other advantage to writing a script is you can assign a “sudo rule” to your account so you can run it without typing a password. I like you lol! Thank you again mate!
nice thank you for teaching me something
The other advantage to writing a script is you can assign a “sudo rule” to your account so you can run it without typing a password.
This would set that one script as passwordless sudo, without compromising the security of other things on the server.
Of course, this is all assuming you’re doing it more than once, and in a more critical environment.
I like you lol! Thank you again mate!