LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 11-21-2006, 12:27 PM   #1
thehuntedcat
LQ Newbie
 
Registered: Nov 2006
Location: Indiana
Distribution: Mepis Linux
Posts: 3

Rep: Reputation: 0
Unhappy Constant Failed SU Login Attempts in GUI mode


I've only been using mepis linux for about a year now, and I've self taught myself on alot of things, but I don't get this problem...

Whenever I want to run as root, I can in the console. (su, then password). But when I open file manager su mode or mepis config (os center) in GUI mode it wont accept my password. My password contains no numbers and is only six letters long, and I've been reading threads posted how malicious individuals use dictionary attacks to change user passwords. Is this what's happening? How can I fix this probelm? I'm not very versed in hacking so I'm just about ready to dump my harddrive on the removable and re-install mepis. Someone help!
 
Old 11-21-2006, 01:11 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
If you can run as root in the console, it's not a changed passwords problem. How are you opening the programs, from the menu and then they're prompting you for root's password?
 
Old 11-21-2006, 01:13 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 59
If you're using Gnome, it defaults to no root login. You can change it in the Actions menu of GDM.
 
Old 11-21-2006, 01:45 PM   #4
thehuntedcat
LQ Newbie
 
Registered: Nov 2006
Location: Indiana
Distribution: Mepis Linux
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, so I tried changing the password in the console and this is what I got:

Quote:
root@2[thehuntedcat]# kdesu
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kdesu: cannot connect to X server :0.0

root@2[thehuntedcat]# xhost +
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display ":0.0"
root@2[thehuntedcat]# synaptic
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(synaptic:7936): Gtk-WARNING **: cannot open display:
root@2[thehuntedcat]# konqueror
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

konqueror: cannot connect to X server :0.0
I have no idea what to do.

I went and looked at more forums, and people have been telling me to use xauth, so I used that.

Quote:
root@2[thehuntedcat]# xauth
xauth: creating new authority file /root/.Xauthority
Using authority file /root/.Xauthority
xauth> list
xauth> list
it wasn't listing anything so I tried it without su

Quote:
thehuntedcat@2[~]$ xauth
Using authority file /home/thehuntedcat/.Xauthority
xauth> list
192.168.1.101:0 MIT-MAGIC-COOKIE-1 553e773ae9fc42a3d7a9db5f9cbfe711
skylar1/unix:0 MIT-MAGIC-COOKIE-1 553e773ae9fc42a3d7a9db5f9cbfe711
192.168.79.1:0 MIT-MAGIC-COOKIE-1 b4467760a8cc7c7278b9b152b97bf659
10.20.9.229:0 MIT-MAGIC-COOKIE-1 a346fba381343cbc1c82089a6e6ef411
10.20.7.232:0 MIT-MAGIC-COOKIE-1 33a687d9afa6262e1bab3bd3160e63e0
10.20.7.170:0 MIT-MAGIC-COOKIE-1 457390812a734a0c7749faf6dc31da16
10.20.6.250:0 MIT-MAGIC-COOKIE-1 9d4f2363ca94b78c3a7ec2ce3e1ce48c
10.20.6.132:0 MIT-MAGIC-COOKIE-1 97e52bc7b8bad7232646ab3e5d29a50e
10.20.6.113:0 MIT-MAGIC-COOKIE-1 a5df2555fdf2bb89d8d2a41eea887bb6
10.20.6.0:0 MIT-MAGIC-COOKIE-1 ea57dd893bc21e838f49c1cda96351ca
10.20.5.132:0 MIT-MAGIC-COOKIE-1 5f9cbef0a8f84bd192435dd3a1a99274
localhost.localdomain:0 MIT-MAGIC-COOKIE-1 f285f7ac67c40150a4f23096dc57355d
(numbers have been changed a bit for security perposes)

It then hit me that maybe I should copy the .Xauthority files

Quote:
thehuntedcat@3[~]$ su
Password:xxxxxxxxxxxx
root@3[thehuntedcat]# cp /home/thehuntedcat/.Xauthority -t /root
That fixed the problem from the console (which means I can run synaptic/konqueror via kdesu now). But I still can't get into any of the programs through the GUI. It just wont accept a password.

Last edited by thehuntedcat; 11-21-2006 at 03:40 PM.
 
Old 11-21-2006, 01:49 PM   #5
thehuntedcat
LQ Newbie
 
Registered: Nov 2006
Location: Indiana
Distribution: Mepis Linux
Posts: 3

Original Poster
Rep: Reputation: 0
Exactly

Quote:
Originally Posted by pljvaldez
If you can run as root in the console, it's not a changed passwords problem. How are you opening the programs, from the menu and then they're prompting you for root's password?
Yeah, it's prompting me for a password when I open programs from the menu. Then when I type my password in it's not accepting it.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Constant failed login attempts... seanferd Linux - Security 8 11-09-2006 08:42 AM
Timeout between failed login attempts wuicci Linux - Security 3 06-01-2006 04:40 AM
Failed SSH login attempts Capt_Caveman Linux - Security 38 01-03-2006 03:22 PM
gui login failed despite users created. but Text mode + root + startx works OK Emmanuel_uk VectorLinux 2 11-21-2005 03:41 PM
/var/log/messages shows failed login attempts... plan9 Linux - Security 8 08-08-2004 12:52 PM


All times are GMT -5. The time now is 04:57 PM.

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