one time password wrong,system goes to shutdown
hi friends
here is my question In login screen,after entering the username we need to enter password,if password is correct we can log into GUI, if password is wrong,again we need to enter user name and password,But what i want to do is if entered password is wrong at first-attempt,then immediately system goes to shutdown...how can i do this.. anybody have idea |
Sounds like you're creating a Denial of Service vulnerability on yourself... there are controls in place to lock an account after any number of failed attempts - rather than shutting down the whole system and making it unavailable to all accounts/users/clients.
If this is of interest to you, check out /etc/pam.d/system-auth. look for 'deny' and 'unlock_time' parameters to set how many failed login it takes to lock the account and for how long to lock it... |
one time password wrong,system goes to shutdown
well,Thanks for your reply
but i want to do is shutdown the system if first attempt is wrong i dont want to lock the user account do you have any idea |
Found this for you...
Quote:
|
one time password wrong,system goes to shutdown
thanks Beotch
unfortunately i was unable to locate /etc/pam.d/common-auth btw i am using solaris express developer edition 1/08 do you have any idea about that file..where can i find in my system |
Sorry, I havent used solaris in yearrrrrs.
|
All times are GMT -5. The time now is 12:14 PM. |