set up a root password

Derek Broughton news at pointerstop.ca
Sun Aug 10 13:26:45 UTC 2008


Bruce Bales wrote:

> Using
> sudo, the machine cannot find the cd command.   That is where you really
> need to be root.
> 
> bruce at blacky:~/docs$ cd /tmp/class
> bash: cd: /tmp/class: Permission denied
> bruce at blacky:~/docs$ sudo cd /tmp/class
> sudo: cd: command not found
> bruce at blacky:~/docs$ su
>
Except that still has no need for "su":

derek at bella:~$ cd /tmp/hsperfdata_tomcat55/
bash: cd: /tmp/hsperfdata_tomcat55/: Permission denied
derek at bella:~$ sudo cd /tmp/hsperfdata_tomcat55/
sudo: cd: command not found
derek at bella:~$ sudo -i
bella: ~/ # cd /tmp/hsperfdata_tomcat55/
bella: /tmp/hsperfdata_tomcat55/ #      
-- 
derek





More information about the kubuntu-users mailing list