Search:

Type: Posts; User: TheFu; Keyword(s):

Search: Search took 0.03 seconds.

  1. Re: Make executable bash script run with sudo privileges?

    Something else you should notes is that Catkiller and I come at the problem from slightly different ways. This is because we have different backgrounds, I'd bet. I'm trained as an ASE, worked in that...
  2. Re: Make executable bash script run with sudo privileges?

    rsync has some failures as a backup tool. For example, when using the hardlinking capabilities to provide versioned backups, it cannot track changes to the owner, group, permissions or ACLs.

    Most...
  3. Re: Make executable bash script run with sudo privileges?

    50% of a backup is the data. The other 50% is the owner, group, permissions, any ACLs. If you don't have 100% in your backup data and know how to restore is all, then
    a) you need better backups
    b)...
  4. Re: Make executable bash script run with sudo privileges?

    Sorta disconnected stuff follows ....


    myusername mymachinename = NOPASSWD: /usr/sbin/grub-reboot, /sbin/reboot
    shouldn't work. Is your username really "myusername" and the hostname really...
  5. Re: Make executable bash script run with sudo privileges?

    Somewhere under /root/ is what is important. There's nothing special in a HOME directory, so most userids don't have bin/ and sbin/ subdirs. Either will pre-exist, so you'll need to mkdir anyways. ...
  6. Re: Make executable bash script run with sudo privileges?

    I've made recommendations already. I think you should follow them, but only you can decide that.

    I don't use markdown anywhere. I'm a texttile user. Regardless, forums seldom support markdown,...
  7. Re: Make executable bash script run with sudo privileges?

    Was the script fixed by placing it into /root/bin/, chmod 700 the file, ensure the file is owned by root, remove the sudo commands from inside it and use full paths to the 2 commands?

    "not working...
  8. Re: Make executable bash script run with sudo privileges?

    There's a NOPASSWD option.
    When modifying the sudoers with nopasswd, be certain you
    * don't lock yourself out
    * only impact the exact command you want to impact
    * restrict the options to only...
Results 1 to 8 of 8