11-17-2011
Clear failed login count
What's actually the difference between these two command:
1) chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s username
2) chuser unsuccessful_login_count=0 username
Are there any impact on executing either one of those command to clear/reset the failed login count in AIX?
Or would it be better to just clear the failed login count using smitty?
10 More Discussions You Might Find Interesting
1. Solaris
hi, can someone tell me " how to reset failed login in solaris 8.0"
a user is not able to login and inspite of my changing password cannot.
I believe it must be because the user tried many attempts.
how do i reset the failed login for the user.
Thanks!
karthik (2 Replies)
Discussion started by: karthikosu
2 Replies
2. Solaris
Hi,
Would appreciate it if someone could shed me some light here as I'm yet to find any related information in this forum with regards to my problem.
Basically, I would like to display "Last Unsuccessful login" information when a user successfully logs-in to the system. I can't seem to find... (2 Replies)
Discussion started by: gilberteu
2 Replies
3. Solaris
Hi guys, Can you please help me.
I have SUN V100 server running solaris 8.
I also have a Redhat Linux 6.2 machine and a windows XP machine on the network.
I'm trying to copy files from the Linux and XP machines to the V100 server.
When I try to ftp to the solaris machine, I'm challenged... (2 Replies)
Discussion started by: Stin
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I managed to install OpenImsCore and XLite, and then I tried to log in using Bob and Alice usernames, but it doesn't work.
I am using Ubuntu 8.04 = Kubuntu.
I tried everything I found on Google (changing security settings in HSS and scscf to Digest-MD5 was the last thing I did), but... (0 Replies)
Discussion started by: Zerro
0 Replies
5. Solaris
Dears,
i am trying to recording failed login
this is the steps which i do:-
1) touch /var/adm/logilog
2) chown root:sys /var/adm/loginlog
3) chmod 600 /var/adm/loginlog
ls -l /var/adm/loginlog
-rw------- 1 root sys 0 Jul 21 03:52 /var/adm/loginlog
4) change this value in... (3 Replies)
Discussion started by: hosney00ux
3 Replies
6. Windows & DOS: Issues & Discussions
I have an application (EXE file) in a Windows 2003 server. Through a DOS batch script, I called that application file using UNC path and working fine when locally login. But got failed when I tried the same batch script on remote login. The login id has been provided all the below rights:
- Log on... (0 Replies)
Discussion started by: r_sethu
0 Replies
7. Solaris
Holla!
Sorry to spam the board with all my Solaris 2.6 questions (I just found this forum). My most recent problem is that not ALL failed log-ins are getting logged in /var/log/authlog. It seems to work fine for the "su" command from a non-root user, but the actual "login" command or a desktop... (4 Replies)
Discussion started by: rrossorr
4 Replies
8. Solaris
Dear Unix Team,
This is sudhansu once again. I need some tips on below issue.
Sometimes we got calls from customer that their console got hangged means they are not able to access the server through console ip.
in that case "resetsc -y" will resolve the issue.
2. But couple of days... (2 Replies)
Discussion started by: sudhansu
2 Replies
9. Solaris
Hi,
Can someone tell me the command to do this in solaris 5.10 please? I've trawled around the internet for ages but all I can find is the AIX command...
Thanks (2 Replies)
Discussion started by: Grueben
2 Replies
10. Solaris
How to clear IPCS queue count in server? (2 Replies)
Discussion started by: Arasu123
2 Replies
LEARN ABOUT DEBIAN
pam_lastlog
PAM_LASTLOG(8) Linux-PAM Manual PAM_LASTLOG(8)
NAME
pam_lastlog - PAM module to display date of last login
SYNOPSIS
pam_lastlog.so [debug] [silent] [never] [nodate] [nohost] [noterm] [nowtmp] [noupdate] [showfailed]
DESCRIPTION
pam_lastlog is a PAM module to display a line of information about the last login of the user. In addition, the module maintains the
/var/log/lastlog file.
Some applications may perform this function themselves. In such cases, this module is not necessary.
OPTIONS
debug
Print debug information.
silent
Don't inform the user about any previous login, just update the /var/log/lastlog file.
never
If the /var/log/lastlog file does not contain any old entries for the user, indicate that the user has never previously logged in with
a welcome message.
nodate
Don't display the date of the last login.
noterm
Don't display the terminal name on which the last login was attempted.
nohost
Don't indicate from which host the last login was attempted.
nowtmp
Don't update the wtmp entry.
noupdate
Don't update any file.
showfailed
Display number of failed login attempts and the date of the last failed attempt from btmp. The date is not displayed when nodate is
specified.
MODULE TYPES PROVIDED
Only the session module type is provided.
RETURN VALUES
PAM_SUCCESS
Everything was successful.
PAM_SERVICE_ERR
Internal service module error.
PAM_USER_UNKNOWN
User not known.
EXAMPLES
Add the following line to /etc/pam.d/login to display the last login time of an user:
session required pam_lastlog.so nowtmp
FILES
/var/log/lastlog
Lastlog logging file
SEE ALSO
pam.conf(5), pam.d(5), pam(7)
AUTHOR
pam_lastlog was written by Andrew G. Morgan <morgan@kernel.org>.
Linux-PAM Manual 06/04/2011 PAM_LASTLOG(8)