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-up14arrow-down10file-text
arrow-up14arrow-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-squareLastYearsPumpkin@feddit.chlinkfedilinkarrow-up3·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!
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!