I have some scripts that might be messy if not handled correctly, is there any variation of thecommand that'll only allow access with a root password?Code:chmod
I have some scripts that might be messy if not handled correctly, is there any variation of thecommand that'll only allow access with a root password?Code:chmod
Set it to only be executable by root. Perhaps make it writabele by a group your in so you don't have to always sudo to edit it.
some variation on that.Code:sudo chown root:sudo /myscript sudo chmod u=rwx,g=rw,o-rwx /myscript
"You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"
"Don't let your mind wander -- it's too little to be let out alone."
Bookmarks