Maddison to Linux · 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 to Linux · 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-squareMaddisonOPlinkfedilinkarrow-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!