Ask Your Question
2

Using Pam for reboot Fedora

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

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
1

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

hhlp gravatar image

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

@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

Comments

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

SecureOfficer gravatar imageSecureOfficer ( 2018-06-18 06:06:22 -0600 )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 -0600 )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

Stats

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

Seen: 39 times

Last updated: Jun 18