LinuxQuestions.org
Review your favorite Linux distribution.
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 03-20-2005, 03:50 PM   #1
Mr.Ampersand()
Member
 
Registered: Mar 2004
Location: United States, New York, Carmel via Putnam County
Posts: 80

Rep: Reputation: 15
I cant su anymore (authentication failure)


Somewhere along the lines I lost the ability to su from a regular user account. I was configuring Samba I think and I lost the ability to su. I checked PAM authentication and stuff of that sort and used different users on my system but I still cant su from a regular user account. In response to that I decided to setup sudo and that works. But it doesnt work the same way as su.

I'm trying to avoid making a new account and deleting my existing one since I think that might solve it? Or if I can get sudo to be able to access my X. Whenever I try to run a X program with sudo it fails to connect...

any help would be appreaciated

--George
 
Old 03-20-2005, 03:54 PM   #2
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Rep: Reputation: 30
Did you try fixing this from your root login?
 
Old 03-21-2005, 07:46 AM   #3
Mr.Ampersand()
Member
 
Registered: Mar 2004
Location: United States, New York, Carmel via Putnam County
Posts: 80

Original Poster
Rep: Reputation: 15
yes I tried to fix it from root. Shall I try to readd the user?
 
Old 03-21-2005, 10:54 AM   #4
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
I had a similar problem in the past and it turned out that /bin/su had lost it's correct attributes. Actually, the suid bit was not set. So, try chmodding it to 4755.
 
Old 03-22-2005, 08:29 AM   #5
Mr.Ampersand()
Member
 
Registered: Mar 2004
Location: United States, New York, Carmel via Putnam County
Posts: 80

Original Poster
Rep: Reputation: 15
I just did this:

chmod 4755 /bin/su

No success. Should this take effect only If i reboot? I dont think that matters as I chmodded other things
 
  


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
su root authentication failure exodist Linux - Software 9 08-06-2011 02:31 PM
dialup authentication failure raypuddy Linux - General 8 05-22-2005 05:00 PM
authentication failure mendiratta Linux - Security 1 07-03-2004 03:20 AM
MNF authentication failure outburst Linux - Security 1 12-18-2003 10:53 AM
POP3 authentication failure J_Szucs Linux - Software 8 07-25-2003 07:14 AM


All times are GMT -5. The time now is 11:04 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