Administrative actions from a non-administrative account

I occasionally open folders as an administrator via Caja. However, when logged into a non-administrative account, the administrative password no longer works. Is there a way to open folders as an administrator via Caja from a non-administrative account?

I don’t think that’s doable from caja. You can try gksu -u adminuser caja from the command line to open caja as the admin user. Have you tried that?

The gksu -u adminuser cajacommand works from the adminuser account, however, it does not work when logged into the non-adminuser account. Well it works, but says the password is incorrect. I used the same password as I normally do for the adminuser account.

Update: Trying gksu -w -u adminuser caja seemed to work. I get errors in the terminal window, but my password is accepted and Caja opens.

1 Like

Hi @jaybo,

you can also try the following command:

Alt + F2 then:

gksudo caja

gksudo caja does the same as gksu -u adminuser caja by rejecting the adminuser password

1 Like