LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 03-09-2009, 09:33 AM   #1
rl92694
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Rep: Reputation: 0
at: Authentication Failure


Over my objections, some of our users want to use at on one of the servers. So I put their usernames in the /etc/at.allow file, but when they try to run at, they get:

$ at
PAM authentication failure: Authentication failure
You do not have permission to use at.

The /etc/at.allow file looks fine. Restarting atd doesn't help. No error messages get logged in /var/log/messages.

So questions:

Does anyone know why I would be getting a PAM authentication failure?

Is there any way to configure atd logging so I can trace exactly why it's failing?

Here's the /etc/pam.d/atd file, just in case:

auth sufficient pam_rootok.so
auth required pam_env.so
auth include system-auth
account include system-auth
session include system-auth
session required pam_loginuid.so

Thanks.
 
Old 03-09-2009, 12:42 PM   #2
rl92694
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
So yeah, I fixed this. It turns out to have nothing at all to do with PAM authentication and everything to do with the sticky bit not being set. So all I did was:

chmod u+s /usr/bin/at

And now everything works.

Hooray for misleading error messages.
 
Old 10-21-2009, 07:09 PM   #3
pdr33n
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
worked for me too.. if anybody knows a better solution.. tell us.
 
Old 10-22-2009, 01:57 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.2, Centos 5.8
Posts: 11,740

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
Actually, that's the setuid bit ... you might not want to do that.
 
  


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
su root authentication failure exodist Linux - Software 9 08-06-2011 02:31 PM
$su, Authentication Failure Eilya Ubuntu 9 10-14-2008 05:41 AM
dialup authentication failure raypuddy Linux - General 8 05-22-2005 05:00 PM
I cant su anymore (authentication failure) Mr.Ampersand() Linux - Newbie 4 03-22-2005 08:29 AM
authentication failure mendiratta Linux - Security 1 07-03-2004 03:20 AM


All times are GMT -5. The time now is 03:08 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
Open Source Consulting | Domain Registration