Denyhosts displaying warning message for users blocked


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Denyhosts displaying warning message for users blocked
# 1  
Old 06-02-2010
Denyhosts displaying warning message for users blocked

Hi,

I have a dilemma.I am running denyhosts on one of our servers and it monitors illegal ssh/ftp loggins. I am running vsftpd.

My manager though has put an additional requirement on me. When someone is blocked my denyhosts he want an error message to be displayed: " YOUR ACCOUNT HAS BEEN DISABLED DUE TO TOO MANY UNSUCCESSFUL LOGGINS. Try again in five minutes.

Anyway to go about this?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Find Null values in Columns and fail execution by displaying error message

Hi All, I am new to shell scripting. I have a requirement as part of my job to find out null/empty values in column 2 and column 3 from a CSV file and exit the further execution of script by displaying a simple error message. I have developed a script to do this by reading various articles... (7 Replies)
Discussion started by: tpk
7 Replies

2. Linux

Problem in displaying message on RHEL6 on EFI during PXE boot

Hi, I am doing PXE boot for RHEL6.4 on EFI and want to display custom messsage before loading vmlinuz and initrd.img, which is not working. boot server side (In case of BIOS client): In /var/lib/tftpboot/default file I am putting the message in below format: SAY hello world boot... (0 Replies)
Discussion started by: indus123
0 Replies

3. Programming

Message queue is not blocked in msgsnd

Hi, I am trying to send/receive data by message queue and expecting it to be blocked on send/read for other side (at least this is my understooding ) , I am connecting message between perl<->C , perl is working as expected , but in C msgsnd and msgrcv are not waiting (blocked) untill second side... (6 Replies)
Discussion started by: alexse
6 Replies

4. Cybersecurity

Locked out of my own server by denyhosts

Sigh... I use denyhosts for security. Been great for months, but today my butterfingers have managed to lock myself out of the server. The denyhosts FAQ lists ways to edit the files to erase your IP, but...I'm locked out, so how can I edit the files? (5 Replies)
Discussion started by: dheian
5 Replies

5. UNIX for Dummies Questions & Answers

Send a massive message to the connected users

How can I send a message for all the users connected into the system at the same time? Let's say I need to reboot the server and I ask the users to save their jobs becasue the server will be rebooted? (5 Replies)
Discussion started by: agasamapetilon
5 Replies

6. UNIX for Advanced & Expert Users

Send console message to all users and tty

Hi people, i tried to search in the forum... but didnt found the answer... Sometimes i need to send a console message to all users in all tty, like reboot or shutdown does... But i cant find how to do that. Someone know? Thanks a lot (2 Replies)
Discussion started by: gfca
2 Replies

7. UNIX for Dummies Questions & Answers

displaying the users

how can i list the users( and only those users) who logged in more than once? thanks in advance... (1 Reply)
Discussion started by: needyourhelp
1 Replies

8. Shell Programming and Scripting

Displaying the processes of users

Hi guys, I'm writing a script to display all the current logged on users and the processes they're running, output to a file. The output will look similar to this: User1 (Real name not login name) PID TTY TIME CMD 3179 pts/3 00:00:00 vim User2 PID TTY TIME ... (2 Replies)
Discussion started by: olimiles
2 Replies
Login or Register to Ask a Question
DENYHOSTS(8)							   User Commands						      DENYHOSTS(8)

NAME
DenyHosts - version: 2.6 DESCRIPTION
DenyHosts is a python program that automatically blocks ssh attacks by adding entries to /etc/hosts.deny. DenyHosts will also inform Linux administrators about offending hosts, attacked users and suspicious logins. Usage: /usr/sbin/denyhosts [-f logfile | --file=logfile] [ -c configfile | --config=configfile] [-i | --ignore] [-n | --noemail] [--purge] [--migrate] [--daemon] [--sync] [--version] --file: The name of log file to parse --ignore: Ignore last processed offset (start processing from beginning) --noemail: Do not send an email report --unlock: if lockfile exists, remove it and run as normal --migrate: migrate your HOSTS_DENY file so that it is suitable for --purge --purge: expire entries older than your PURGE_DENY setting --daemon: run DenyHosts in daemon mode --foreground: run DenyHosts in foreground mode --sync: run DenyHosts synchronization mode --version: Prints the version of DenyHosts and exits Note: multiple --file args can be processed. If multiple files are provided, --ignore is implied Note: in a debian system, the default running mode is daemon mode and the configuration file is etc/denyhosts.conf When run in --daemon mode the following flags are ignored: --file, --purge, --migrate, --sync, --verbose SEE ALSO
Please refer to http://denyhosts.sourceforge.net/faq.html for full documentation This file can be also found in /usr/share/doc/deny- hosts/FAQ.html AUTHOR
DenyHosts was written by Phil Schwartz <phil_schwartz@users.sourceforge.net> This manual page was written by Marco Bertorello <marco@bertorello.ns0.it> for the Debian project (but may be used by others). DenyHosts version: 2.6 July 2006 DENYHOSTS(8)