Please can I have help with a noob sudo question

Hello guys

I have one administrator account on my computer.

I need to run sudo on another standard user account to be able to restrict access to a file for them.

I'm not sure how to run sudo in the terminal in the standard user account and use my administrator password for the sudo action.

How do I do this?

Kind regards

Josh

Use su instead of sudo.

su -c command

The password it will ask for is the password for the root account.

6 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.