Skip to content

Question about /etc/pam.d/sudo #1161

Closed
@dougg0k

Description

@dougg0k

Hi,

I just saw this tool and was reading the instructions.

You recommend adding the following to /etc/pam.d/sudo and /etc/pam.d/sudo-i

session required pam_limits.so

@include common-auth
@include common-account
@include common-session-noninteractive

But currently, /etc/pam.d/sudo contains

 #%PAM-1.0
 auth        include     system-auth
 account     include     system-auth
 session     include     system-auth

Should it be overwriten or added below the current content?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions