M BUZZ CRAZE NEWS
// news

cd root access denied [closed]

By Jessica Wood

I have set up my root password but when I try and cd to root dir I get:

bash: cd: root: Permission denied

the exact command is:

cd root

sorry I was unclear but the issue is resolved now thanks a lot everyone.=D

7

1 Answer

The best thing to do is sudo su or su, then cd to /root. You can (if you want) string together commands like this: su -c "cd /root; dostuff", but the first way is easier if you need to get into /root.

3