LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-28-2005, 04:50 PM   #1
yesfixit
LQ Newbie
 
Registered: Feb 2005
Location: US
Distribution: SuSe 9.2 and 10.1
Posts: 26

Rep: Reputation: 15
Unhappy Lost user previlages as root


Another Noobe question, I lost my user privileges when I log in as root. earlier I was able do every thing like a normal user but now after too many modifications ( experimental ) if I log in as root it takes me directly to Yast2 if I close it I go back to login screen again. I may have turned off my privileges when I played with user security settings, seeking help
 
Old 02-28-2005, 06:00 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
This is why you do your normal work as a user and system maintenance as root. Don't go dinking around as root or you'll break something

Note: I don't know how to fix your problem as I don't have a Suse box, but wanted to make sure someone gave you the standard "don't run as root all the time" speech.
 
Old 02-28-2005, 06:07 PM   #3
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
Well, as I'm sure you notated every change you made to the system, simply reverse your changes and you're back in business.

Otherwise, rebuild and try again.
 
Old 02-28-2005, 07:20 PM   #4
yesfixit
LQ Newbie
 
Registered: Feb 2005
Location: US
Distribution: SuSe 9.2 and 10.1
Posts: 26

Original Poster
Rep: Reputation: 15
I wish if I knew what all changes I made. but cannot remember those changes. All this happen in my effort to setup an internet sharing . Any help to reinstate my previlages will be greatly appreciated.
Thanx for all the replies.
 
Old 03-01-2005, 08:00 AM   #5
freefall90
LQ Newbie
 
Registered: Oct 2004
Distribution: Mandrake/SuSE
Posts: 5

Rep: Reputation: 0
You said when you login it takes you to YaST2? Not to the YaST Contol Center? If it is YaST2, what module does it say you are in? If you can get into the User and Group Admin module, perhaps you could set up a second account that has root privelges and go from there (try to fix your original root). Again, this may depend on what module, if any, it is putting you into.
 
Old 03-01-2005, 08:49 AM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
I remember a security setting that does not allow root access to the graphical system. Unfortunately I don't know where to switch that off. But as sigsegv already said: why would you like to work as root under X? You can gain root access whenever you like with su or kdesu. No need to run the X as root!

EDIT: I googled a little and found this:
Quote:
Make sure to set the following in /etc/opt/kde3/share/config/kdm/kdmrc
in section [X-*-Core]:

AllowRootLogin=true

Last edited by abisko00; 03-01-2005 at 08:57 AM.
 
Old 03-02-2005, 03:30 PM   #7
yesfixit
LQ Newbie
 
Registered: Feb 2005
Location: US
Distribution: SuSe 9.2 and 10.1
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by freefall90
You said when you login it takes you to YaST2? Not to the YaST Contol Center? If it is YaST2, what module does it say you are in? If you can get into the User and Group Admin module, perhaps you could set up a second account that has root privelges and go from there (try to fix your original root). Again, this may depend on what module, if any, it is putting you into.

When I log as root it takes me directly to Yast control center where I am allowed to make all kind to system changes. but for example if I need to run a programme I do not have the option for that. I will have to switch to a regular user to run any programme. The fun part is I was allowed to do this from root earlier, before all kind of changes I made which may have accidently turned off my previlages to run programmes as a root. I am still looking for the one I am missing.

Thanks for all trying to help me.
 
  


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
user with root previlages howto?? kartheekpn Linux - Software 5 06-21-2005 07:16 PM
Scanner to work as USER and not forced as ROOT Root (Suse 9.1) 1kyle Linux - Hardware 0 07-10-2004 08:51 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM
Lost Root User Michael2003 Mandriva 4 12-13-2003 08:20 AM
Lost root user Goody1959 Linux - General 8 07-20-2003 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:30 AM.

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
Open Source Consulting | Domain Registration