LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Suse 10.0 root Question (https://www.linuxquestions.org/questions/linux-newbie-8/suse-10-0-root-question-381860/)

bf2master 11-10-2005 01:43 PM

Suse 10.0 root Question
 
OK... im in Suse 10.0 and as a normal user

Now i want to go in as root...

not sign in as root

type alt ---> F2

Type in

SU

Then options

root
mypassword

but im still a normal user

and cant access root stuff

thx in advance

fouldsy 11-10-2005 02:07 PM

Step-by-step: Alt-F2 should bring a new login prompt entirely. I'm assuming you're logging as your normal username from here though. Once you type "su", it shouldn't prompt for a username, just ask for the root password. But, assuming it tells you you've su'd to root, if you type in "whoami" it should come back letting you know whether you're still classed as username or root.

Snickar-Lasse 11-11-2005 09:10 AM

I've exactly the same problem: after typing 'su' it prompts for the root password, I type it in, clicks 'Run', and still logged in as user.

Any ideas?

bf2master 11-11-2005 09:39 AM

Still the same problem .... PLZ help .....

abisko00 11-11-2005 10:22 AM

I don't get it:

Where are we here? From KDE, Alt+F2 gives me the 'Execute command' window. This is not the way to switch the user.

From command-line, Alt+F2 gives me a new console (tty2) and it is not required to type 'su'. Just username and password.

Then I logged in as normal user and typed 'su' and the root password. And now I am root. Maybe you got confused because it does not change into the /root directory (you are still in the same directory as before, but now as root). Have you tried fouldsy's suggestion (whoami)?

And where does the 'Run' button come from? I guess I need more info here.

Nawar 11-11-2005 10:23 AM

su root requires the ROOT password, not your own.

sudo -s (switches you to root, and if configured that way, allows you to use your password) - however, a root level user must configure sudo to allow your userid to run it.

How are you typing in the "su" command somewhere, yet, clicking "run" somewhere else?

What program wrapper do you have up?

If you are in a terminal window, then the su command will not have a "button" to click.

Snickar-Lasse 11-13-2005 10:21 AM

What's maybe a bit confusing is that the 'Run command' window gives you an alternative 'Run as different user' which means that you'll run a certain application as root (you won't login to the system as root ). Accordingly, one can use Alt+F2 to launch a konsole as root to access root stuff (or more simply, by using the su command directly). I guess you can also launch a 'root shell'.


All times are GMT -5. The time now is 07:52 PM.