LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices

Reply
 
Search this Thread
Old 07-13-2006, 03:48 AM   #1
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 9.04
Posts: 150

Rep: Reputation: 15
unsuccessfull logins for ftp


hi everyone,
i am unable to get unsuccessfull logins log using lastb command. can anyone tell me how to.though i am able to get successfull logins log using last command.
 
Old 07-13-2006, 09:21 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Does the file /var/log/btmp exist on your system? If not, you need to create it since it's not created automatically. You can create it (as root) with the following:
Code:
touch /var/log/btmp && chmod 0600 /var/log/btmp
 
Old 07-27-2006, 04:53 AM   #3
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 9.04
Posts: 150

Original Poster
Rep: Reputation: 15
Yes file exists and i have given the file permissions same as wtmp and the owner and group of wtmp is adm:adm so i have given the same owner ship to btmp too. yet i am unable to get the unsuccessfull log!!
 
Old 07-27-2006, 03:04 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Here are the permissions for btmp on my home system:
Code:
$ ls -l /var/log/btmp
-rw------- 1 root root     384 2006-07-28 04:59 /var/log/btmp
Are you getting an error when you run lastb or is the /var/log/btmp file empty (0 byte)?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow FTP Logins kitek Mandriva 2 10-12-2005 07:16 PM
Slow FTP logins: NOT DNS problem... TruckStuff Linux - Networking 3 05-09-2002 01:07 AM
slow logins to telnet/ftp from outside firewall imunky Linux - Networking 3 03-08-2002 01:00 AM
Slow FTp Logins Rycat Linux - Networking 4 03-14-2001 03:32 AM
SLOOOOOW logins: ftp, pop Crescendo Linux - Networking 0 03-13-2001 01:10 PM


All times are GMT -5. The time now is 09:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration