So in this case you are running su using sudo and you don't have to know root's actual password Sudo bash & sudo sh Su root switches to the user named root and doesn't simulate directly logging in
Image - Su Yung 23.jpg | Pro Wrestling | FANDOM powered by Wikia
Your working directory will be /root, and it will read root's.profile etc
The prompt will change from $ to #, indicating you have root access
Sudo bash where bash is command to run with sudo. From su 's man page For backward compatibility, su defaults to not change the current directory and to only set the environment variables home and shell (plus user and logname if the target user is not root) I am having problems with the su command
I know my password and i am typing it correctly, but su indicates authentication failure So i checked on the internet and then went into recovery mode and ๆ็ SketchUp2023 ไนๆฏๅบ็ฐ่ฟไธช้ฎ้ข๏ผๅๆฅๅ็ฐๅชๆฏๆทปๅ ่ดดๅพ็ๆถๅJPGๆไปถไธ่ฝๆพ็คบ๏ผ่ๅฆๆๆ่ทฏๅพ้ๅฅฝ๏ผๆไปถๅๅคๅถๅ็ฒ่ดดๅฐๆไปถๅๆก้๏ผ็นๆๅผๅฐฑ่กไบใๅๆๆฏ่ทฏๅพๅๆไปถๅๆญฃ็กฎใ This will change your user identifier and inherit the environment variables as if you had logged in with that user