This is a discussion on Login fail message within the Shell scripting forums, part of the Development/Scripting category; Hey Guys, I just stumbled upon one thing. When I login to SuSE9.3 Pro thru the terminal screen and if ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hey Guys,
I just stumbled upon one thing. When I login to SuSE9.3 Pro thru the terminal screen and if these was an unsuccesful login, it gives a meesage giving the time of the last unsuccessful login. This phenomena was there from the early Sco Unix days. But now FC/RHEL don't have it turned ON. I just want to know how can we turn it ON in FC/RHEL or for that matter Unix or any other NIX flavour. I don't remember but think I was taught/read it somewhere. But don't seem to recollect. I think it is not related with the distribution. So, I think it is safe to post in the room. Correct me if I am wrong. Thanks, rc |
| Sponsored Links | ||
|
|
|
|||
|
Thank you monk,
I think you got my question wrongly. Anyway, No problem. I want to say that my problem is not related to ssh. What my question was that I get a message after I successfully logged in thru the console. This message just indicates the Last Successful and Unsuccessful login logs. I mean, when I login, I get a message which tells me when did I last have a successful and an unsuccessful login. This kind of message helps in keeping track of deliberate attempts of other users who try to guess your password and try to login. What I wanted to know is how to enable and or disable this message flashing. If suppose I want it on FC/RHEL distribution, what and which file shall I enable?. Do you get me now. Thanks for the reply and I appreciate it. rc |
|
||||
|
Hee @ monk
I think pam config needed to enable or disable it ... I'm at uni com right now (xp)
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
||||
|
Okay this can be enable or disable in your /etc/pam.d/login file by adding following line to it:
Code:
# Prints the last login info upon succesful login session optional pam_lastlog.so
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fail to mount remote NFS server | satimis | Web servers | 0 | 04-19-2008 09:06 PM |
| F8 - fail to load amd pata driver | satimis | CentOS / RHEL / Fedora | 0 | 01-25-2008 12:31 PM |
| fail to telnet localhost 106 | satimis | Mail Servers | 8 | 12-18-2007 06:16 AM |
| dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1 | raj | Mail Servers | 1 | 11-15-2007 11:43 AM |
| network message | anharikrishna | Networking, Firewalls and Security | 1 | 09-06-2007 04:02 PM |