[arch-general] Permanently allow root access
mysatyre at gmail.com
Mon Feb 3 05:40:37 EST 2014
I'll just throw my more local (than probably necessary) .bashrc
function in here...
if [[ -n "$DISPLAY" ]]; then
command sudo "XAUTHORITY=$HOME/.Xauthority" "$@";
command sudo "$@";
You don't give up on X11 cookies, you don't need to touch pam and can
go on hoping it works in your favor, and thridly, there's even a
mention of .Xauthority in the stock sudoers file, so, you'll never
find where these things are set up on a running system anyway...
More information about the arch-general