Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

When you have trouble remembering which user you currently are, why not stop switching users altogether? Install sudo via su -c 'yum install sudo' and disable the root account via su -c 'passwd -l root'.

When If you have trouble remembering which user you currently are, why not stop switching users altogether? Install sudo via su -c 'yum install sudo' and disable the root account via su -c 'passwd -l root'.

If you prefer su -c '<command>' over sudo <command>, you might just change your behavior, as suggested by FranciscoD_.

If you have trouble remembering which user you currently are, why not stop switching users altogether? Install sudo via su -c 'yum install sudo' and disable the root account via su -c 'passwd -l root'.

If you prefer su -c '<command>' over sudo <command>, you might just change your behavior, as suggested by FranciscoD_.