LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-14-2009, 05:52 PM   #1
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
proftpd - Unable to open config file: /etc/security/pam_env.conf


Linux version 2.6.18-128.1.10.el5 (mockbuild@builder16.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Thu May 7 10:39:21 EDT 2009

Hello all I getting the error:
Code:
proftpd: pam_env(proftpd:setcred): Unable to open config file: /etc/security/pam_env.conf: No such file or directory
/etc/security/pam_env.conf exists but there is not one line that isn't commented out. So even if it did find it...
I do have in proftpd.conf:
Code:
DefaultRoot	~
Makes me think that because of the chrooted env it's trying to find file outside that chroot. But I'm not completely sure on this. Can anyone confirm it's the chroot? Other thoughts maybe?
 
Old 07-14-2009, 08:56 PM   #2
viGeek
LQ Newbie
 
Registered: Jul 2009
Posts: 28

Rep: Reputation: 17
The default pam_env file is completely commented out (as you said),,,, I would check permissions on the file. Default is...

-rw-r--r-- 1 root root 3088 Jan 21 18:53 pam_env.conf
 
Old 07-14-2009, 09:10 PM   #3
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Original Poster
Rep: Reputation: 75
Quote:
Originally Posted by viGeek View Post
The default pam_env file is completely commented out (as you said),,,, I would check permissions on the file. Default is...
-rw-r--r-- 1 root root 3088 Jan 21 18:53 pam_env.conf
I checked this first and it's world readable. "permission denied" is what I would expect for a permission issue. Thanks for your insight'

Last edited by micxz; 07-14-2009 at 09:12 PM.
 
Old 01-07-2010, 08:59 AM   #4
mike2010
Member
 
Registered: Jan 2009
Posts: 132

Rep: Reputation: 15
Quote:
Unable to open config file: /etc/security/pam_env.conf
Hello, I'm getting the same exact error in my /log/secure file , but my proftp has been working fine the whole time.

This issue has probably been going on for months without my knowledge.. Just happened to check out the security logs this morning.

Is it ok to continue keep going as is ? Why does it need to open that file anyway ?
 
  


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
proftpd.conf file doesn't work yang_wayne Linux - Newbie 9 01-16-2009 09:12 AM
help needed with proftpd.conf file? sebasjuh Mandriva 1 10-11-2004 09:26 AM
help explaining proftpd.conf file freekain Linux - Newbie 5 06-14-2004 08:08 AM
no config file for proftpd?? Vid Linux - Software 5 04-27-2004 08:05 PM
Another ProFTPD conf file? KillerCheeto Linux - Newbie 1 04-24-2003 11:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:16 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration