LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-27-2005, 07:07 AM   #1
blind_chipmunk
LQ Newbie
 
Registered: Apr 2005
Distribution: mandrake 10.1
Posts: 3

Rep: Reputation: 0
Question root's password not working under X


hey all,

got a bit of a problem in my linux station:
when i boot the PC, i auto-login into the X as user 'user1'.
all works fine until i open the Konsole (within the X) and try to do "su -".

when i do that, it says that ive entered a "worng password".

when i use the same password (for root) while in the Console (ALT + F1 for exemple) it lets me to login to root.

for short:
i know the password for root is correct.
i can login to the Console as root (and even start the X from the command line)
i can login to the X with 'user1'.
i cannot preform, within the X, any action that requires root.

any idea on how to approch this?
 
Old 04-28-2005, 03:32 AM   #2
marsguy
Member
 
Registered: Nov 2004
Distribution: Red Hat Enterprise & SuSe 10
Posts: 77

Rep: Reputation: 15
Hello ...

Make sure that the input language is English

I always face this problem because I write other languages than English and forget to switch the input language back to English before I type a password!
 
Old 04-28-2005, 03:38 AM   #3
blind_chipmunk
LQ Newbie
 
Registered: Apr 2005
Distribution: mandrake 10.1
Posts: 3

Original Poster
Rep: Reputation: 0
thanks but'

i have only one language install - and its english. i even tried a copy paste and it didnt work.

i think i can add a new sympthom to the problem.

***it seems like i cannot swith to root while under other users.
not even in the Console it self (cant use su -)
not even in the X (cant enter the configur your computer).

any idea's?
 
Old 04-28-2005, 08:48 AM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
Does your user have permission to su to root? Some distros limit this to members of a specific group.
 
Old 05-09-2005, 09:41 AM   #5
blind_chipmunk
LQ Newbie
 
Registered: Apr 2005
Distribution: mandrake 10.1
Posts: 3

Original Poster
Rep: Reputation: 0
thanks, but...

still having problems...

here is a shorten version of the problem (but still complicated...)

i can login as root.
i can su from root to other users.
but if i try to su from regular users to root' i get "incorrect password" but the password itself is correct.

what should i check?
where should i look?

any ideas?



 
Old 05-09-2005, 10:29 AM   #6
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
IIRC, mandrake only allows users in the "wheel" group to su to root: Is your user a member of this group?
 
Old 05-09-2005, 01:35 PM   #7
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
Try using sudo rather than su. Also, make sure that your keyboard settings are correct, as this can switch some characters around (especially punctuation).
 
Old 05-12-2005, 04:37 AM   #8
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
A) Make yourself a member of the 'wheel' group.
B) Go through the security policies setup. There may be restrictions set there.
 
Old 05-12-2005, 10:38 AM   #9
setenv02
Member
 
Registered: Apr 2005
Location: Chicago,IL
Distribution: redhat 9
Posts: 32

Rep: Reputation: 15
I would recommend running sudo under your distro. In order to do this you must edit the /etc/sudoers file. Good luck
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
root password not working for su brenainn Linux - Security 1 10-08-2005 04:40 AM
Backup through SSH without password not working Maarten_Holland Linux - Networking 2 05-26-2005 04:56 AM
ssh/scp without password not working Mauline Linux - Security 4 03-30-2005 09:26 PM
root's password gone after upgrade supe Linux - Newbie 2 06-14-2004 10:23 PM
What is root's password in knoppix? MasterC Linux - General 6 06-23-2003 03:18 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration