![]() | 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'
.
![]() | 2 | No.2 Revision |
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_.
![]() | 3 | No.3 Revision |
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_.