TekTonic - Community Forums
Get Support
Live Chat
Community Forum
The talkative Tektonic member community
  #1  
Old 08-20-2006, 12:31 PM
dbs dbs is offline
Junior Member
 
Join Date: Jun 2006
Posts: 12
Default set_loginuid failed opening loginuid

Hi,
In my FC5 VPS log file /var/log/secure
I see messages like
pam_loginuid( ): set_loginuid failed opening loginuid
actually for all applications which support PAM.

I found a thread http://www.redhat.com/archives/fedor.../msg00988.html
which says:
Quote:
If this file doesn't exist:
/proc/<pid of crond>/loginuid
It's because the kernel doesn't have AUDIT enabled.
Set "CONFIG_AUDIT=y" (menuconfig: Under "General setup" enable "Auditing support"), recompile kernel, reboot with new kernel.
Now you shouldn't see any more of these messages
Since we cannot recompile the kernel on VPS.
Is there a way to suppress these messages by changing PAM configuration files?

Thanks
Reply With Quote
  #2  
Old 08-20-2006, 03:49 PM
imported_matta imported_matta is offline
Senior Member
 
Join Date: Nov 2004
Posts: 568
Default Re: set_loginuid failed opening loginuid

This may be fixed by SWSoft's steps in their Knowledge Base.

http://kb.swsoft.com/article_133_1146_en.html
Reply With Quote
  #3  
Old 08-20-2006, 05:17 PM
dbs dbs is offline
Junior Member
 
Join Date: Jun 2006
Posts: 12
Default Re: set_loginuid failed opening loginuid

Hi,
ı did the settings as in Swsoft forum and restarted the sshd
Quote:
/etc/ssh/sshd_config:
UsePAM no
UseLogin yes
But it insisted using PAM and continued putting "set_loginuid failed opening loginuid" message in the log.

I commented out pam_loginuid.so in /etc/pam.d/sshd
Quote:
auth include system-auth
account required pam_nologin.so
account include system-auth
password include system-auth
session include system-auth
##session required pam_loginuid.so
Would this workaround cause any security problems?

Thanks
Reply With Quote
  #4  
Old 08-20-2006, 05:56 PM
imported_matta imported_matta is offline
Senior Member
 
Join Date: Nov 2004
Posts: 568
Default Re: set_loginuid failed opening loginuid

I do not believe so as PAM is no longer being used for authentication.
Reply With Quote
  #5  
Old 08-20-2006, 08:16 PM
dbs dbs is offline
Junior Member
 
Join Date: Jun 2006
Posts: 12
Default Re: set_loginuid failed opening loginuid

Quote:
I do not believe so as PAM is no longer being used for authentication.
I checked many times.

with this combination
UsePam no
UseLogin yes
sshd still uses PAM.

if only I set both to
UsePam no
UseLogin no
then it is not using PAM.

So I will leave sshd_config as default and only comment pam_loginuid.so from /etc/pam.d/sshd

Thanks for your help
Reply With Quote
  #6  
Old 05-12-2010, 04:50 AM
sumansameer sumansameer is offline
Junior Member
 
Join Date: May 2010
Posts: 1
Default

I have received an e-mail with the subject "TekTonic - New subscription setup!"
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with POP3 - Mail Authentication failed Fuzzyman cPanel 3 01-10-2006 11:25 AM
Failed to find mount point for /home borgo Virtual Private Server (VPS) 0 11-20-2005 08:50 PM


All times are GMT. The time now is 12:47 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.