Change user without password - pam.d

maelamrani

Member
Joined
Jan 3, 2020
Messages
77
Reaction score
7
Credits
450
Hello,

how can i optimize this code for multiple users :

for exp if i have 3 users :
postgresAG
postgresBE
postgresAYD

what should i write in user ?

auth [success=ignore default=1] pam_succeed_if.so user = postgresAG
auth sufficient pam_succeed_if.so use_uid user ingroup postgres
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Latest posts

Top