Linux / UNIX Tech Support Forum
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 ...
|
|||||||
| Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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. What's wrong? I hope I am not making you uncomfortable... Never send a boy to do a mans job. |
|
||||
|
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. What's wrong? I hope I am not making you uncomfortable... Never send a boy to do a mans job. |
![]() |
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 | 19-04-2008 08:06 PM |
| F8 - fail to load amd pata driver | satimis | CentOS / RHEL / Fedora | 0 | 25-01-2008 11:31 AM |
| fail to telnet localhost 106 | satimis | Mail Servers | 8 | 18-12-2007 05:16 AM |
| dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1 | raj | Mail Servers | 1 | 15-11-2007 10:43 AM |
| network message | anharikrishna | Networking, Firewalls and Security | 1 | 06-09-2007 03:02 PM |