LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-13-2024, 11:08 PM   #1
Mig21
Member
 
Registered: Jan 2005
Posts: 263

Rep: Reputation: 45
Where is /etc/pam.d/smtpd.conf in Slackware?


Hello

I've been educating myself all day, trying to figure out how to prevent some local users from using Postfix. These are regular users but I placed some heavy restricitons on what they can do in a chroot.

Finally I remembered about saslauthd, and I thought I've nearly figured it out. But I haven't.

I'm seeing references in my readings about /etc/pam.d/smtpd.conf - a file which doesn't exist on my system. I'm reasonably sure that I didn't delete it.

Given that this file is missing: what configuration is Potfix using in order to authenticate with SASL?

If I create /etc/pam.d/smtpd.conf and guess what to put into it: am I likely to break something on my mostly vanilla Postfix setup?

I'm essentially in the same boat as the guy asking this question on serverfault. He didn't get an answer.

Thanks in advance.
 
Old 03-14-2024, 07:04 AM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by Mig21 View Post
Given that this file is missing: what configuration is Potfix using in order to authenticate with SASL?
Try /usr/doc/postfix-3.9.0/readme/SASL_README and see if that helps.
 
Old 03-15-2024, 02:52 AM   #3
Mig21
Member
 
Registered: Jan 2005
Posts: 263

Original Poster
Rep: Reputation: 45
I managed it: http://littlesvr.ca/grumble/2024/03/...e-local-users/

That was strangely difficult to figure out. I thought this would be is a relatively common requirement.

I wonder if doing this with PAM would have been a cleaner solution, but I don't have the time now to figure out the ins and outs of how PAM works.
 
  


Reply



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
/etc/pam.d/system-auth-ac vs. /etc/pam.d/password-auth-ac vs. /etc/pam.d/sshd christr Red Hat 2 08-01-2014 07:08 PM
/etc/ldap.conf vs /etc/openldap/ldap.conf wilslm Red Hat 2 05-04-2011 08:19 PM
Difference between /etc/ldap.conf vs. /etc/ldap/ldap.conf fahadaziz Linux - Server 8 07-14-2010 05:12 AM
/etc/hosts, /etc/resolve.conf and /etc/host.conf config probs below_average Linux - Networking 1 12-08-2004 10:07 PM
Where is /etc/modules.conf or /etc/modules.conf in FC2 CountingCount Fedora 1 06-01-2004 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:54 AM.

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