Ive observed kind of strange behaviour. I have openSuse and when Im in console and want to gain root access for executing one command, after typing sudo it like switches me as if Id type su. I mean -when I want to execute next commands which requires root, I just type this command without sudo.
Is this normal or is it something wrong with my system?
sudo -i
orsudo -s
. do you perhaps have a command alias using the keyword 'sudo'? you can use 'alias' at the command line to show all your aliases.sudo
. Also, trywhoami
when it's in that "mode".