this post was submitted on 19 Aug 2023
4 points (100.0% liked)

Linux

2598 readers
1 users here now

Shit, just linux.

Use this community for anything related to linux for now, if it gets too huge maybe there will be some sort of meme/gaming/shitpost spinoff. Currently though… go nuts

founded 2 years ago
MODERATORS
 

Parental Guidance Required, might not be safe for some audiences.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 2 years ago (1 children)

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.

[–] Maddison 1 points 2 years 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!