Big news! The community will be moving to a new platform April 21. Read more.
Big news! The community will be moving to a new platform April 21. Read more.
Absent Member.
Absent Member.
987 views

PAM configuration for sudo

Trying to set up a sudors file with password authentication on OES2 SP3
I'm a bit puzzled because of the PAM configuration. After some try and
error the following seems to work for an eDirectory user:

/etc/pam.d/common-auth:
#
auth required pam_env.so
auth optional pam_nam.so
auth optional pam_unix2.so
#

The default configuration does not include pam_nam.so which does not
work. Also pam_unix2.so is set as required after OES install. My first
try was to include pam_nam.so as optional without touching the other two
lines. But without setting pam_unix2.so to optional also sudo does not work.
The above configuration does look a bit strange to me. With all modules
set as optional will I risk that a user might authenticate so some
service including common-auth without supplying a correct password?

Günther
Labels (2)
0 Likes
1 Reply
Absent Member.
Absent Member.

Günther,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://forums.novell.com/

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.