Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to configure a RHEL4 system running with KDE so that it displays failed login attempts to the user after login.
What I tried so far:
I added the pam_tally entry so that failed login attemps are logged to /var/log/faillog.
I also created a faillog file which has rw-access for the root user, but no access to other users.
Using faillog -u <user> I can see the last login failure.
But what I would like to do is this:
Optimum would be a graphical display during the login to KDE.
In the kdm.conf I already modified the entry so that the last successful login will be shown in the graphical login manager after typing in the user name, before typing the password.
It would be fine, if the last failed login would also be reported here, if possible.
But it would also be okay, if after the successful login a message dialog (e.g. using kdialog) would show up, informing about the last login failures.
I already tried several ways to get there, but my major problem is, that the information in the faillog is reset once the user logs in successfully. So I thought I might have to store it somewhere during the login, before the reset is taking place. But I couldn't figure out, how to do that. Especially since the user doesn't even have the rights to access the faillog command.
I have not been working with Linux that much before, so I don't know, if there is a simple way to solve my problem.