The way is via a terminal.
open terminal window.
switch user to your account.
su - your_user_name
now you can use sudo from your account.
this is the prefered way.
Network question, managing 2nd account as root
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 5
- Posts: 604
- Joined: Sat Nov 18, 2006 6:04 pm
- Location: Albert Lea Minnesota USA
antiquexray wrote:Why the su - and not su?
Code: Select all
man su
Or to put it another way: "su -" is cleaner than a mere "su".