Ask Your Question

Using Pam for reboot Fedora

asked 2018-06-18 04:36:00 -0500

SecureOfficer gravatar image

Is it posible to restart system after 3 failed login attempts? if so how to do that?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-18 04:48:07 -0500

hhlp gravatar image

updated 2018-06-18 04:50:37 -0500

@SecureOfficer -> I'm not a PAM expert but yo can do this and then create a script to reboot your system like this or do whatever else you want to do when account is locked

edit flag offensive delete link more


which line may it be? in which file? Could you write it down? please

SecureOfficer gravatar imageSecureOfficer ( 2018-06-18 06:06:22 -0500 )edit

you can do it make a script to run at boot (via root's crontab) just follow the sample wiki

hhlp gravatar imagehhlp ( 2018-06-18 06:22:26 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-06-18 04:36:00 -0500

Seen: 39 times

Last updated: Jun 18 '18