Re: enforcing "sudo -i"
David Henderson <[email protected]>
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <CAF-YAQz-=85pKv5Vs_J8wfhTVvDZXbKk=Xge-j4Wfo9dcuaqxg@mail.gmail.com> |
Not sure if this will help or not, but why not setup an alias? alias sudo='sudo -i' That way there is nothing external to manage and whenever 'sudo' is called, it will automatically execute with the desired parameters. Dave On 8/9/19, Shawn McMahon <[email protected]> wrote: >> >> >> Maybe I should ask said guy if there are any down sides to having -i be >> used for all sudo commands. >> >> > Lose the ability to have accounts with /bin/false as the shell that can > run commands using sudo, but never get a shell. sudo -i will just "exit 1" > with those. > ____________________________________________________________ > sudo-users mailing list <[email protected]> > For list information, options, or to unsubscribe, visit: > https://www.sudo.ws/mailman/listinfo/sudo-users > ____________________________________________________________ sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-users