When I moved to Ubuntu I worked hard to get out of the habit of working as root. However, is the situation below an example of one of the few times that a user should become root?
- neptune:~$ cd ../testuser/.kde/ bash: cd: ../testuser/.kde/: Permission denied - neptune:~$ sudo cd ../testuser/.kde/ sudo: cd: command not found
Note that I do happen to have the password for
testuser, however I feel that working as root is preferable to
EDIT: Upon researching solutions I see that my best course of action is to just
su to the user whose files I intend to start scripting on.