LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2005, 02:43 PM   #1
bf2master
LQ Newbie
 
Registered: Nov 2005
Location: South Africa
Distribution: Suse 10.0
Posts: 13

Rep: Reputation: 0
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
 
Old 11-10-2005, 03:07 PM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
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.
 
Old 11-11-2005, 10:10 AM   #3
Snickar-Lasse
LQ Newbie
 
Registered: Nov 2005
Location: Boston, MA
Distribution: OpenSUSE 11.2
Posts: 19

Rep: Reputation: 0
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?
 
Old 11-11-2005, 10:39 AM   #4
bf2master
LQ Newbie
 
Registered: Nov 2005
Location: South Africa
Distribution: Suse 10.0
Posts: 13

Original Poster
Rep: Reputation: 0
Still the same problem .... PLZ help .....
 
Old 11-11-2005, 11:22 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
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.

Last edited by abisko00; 11-11-2005 at 11:23 AM.
 
Old 11-11-2005, 11:23 AM   #6
Nawar
Member
 
Registered: Nov 2005
Location: Midwest America
Distribution: SuSE, RedHat
Posts: 39

Rep: Reputation: 15
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.
 
Old 11-13-2005, 11:21 AM   #7
Snickar-Lasse
LQ Newbie
 
Registered: Nov 2005
Location: Boston, MA
Distribution: OpenSUSE 11.2
Posts: 19

Rep: Reputation: 0
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'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root question manicman Linux - Newbie 2 11-03-2005 05:20 AM
question about root biojayc Linux - Software 6 04-06-2005 11:58 PM
root question. ratatat Linux - Newbie 7 12-27-2004 03:57 PM
Scanner to work as USER and not forced as ROOT Root (Suse 9.1) 1kyle Linux - Hardware 0 07-10-2004 09:51 AM
root question Xris718 Linux - General 6 07-15-2003 03:25 AM


All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration