LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 06-06-2011, 01:52 PM   #1
oldracer
LQ Newbie
 
Registered: Mar 2011
Posts: 4

Rep: Reputation: 0
faillog not updating & gives command not found error in opensuse 11.4


So far all has been well with my installation of OpenSuse 11.4 and we are using it in several classes where I teach several classes to very beginner Linux/Windows computer users. I have OpenSuse 11.4 installed on my 64bit AMD powered laptop and until I tried using the "faillog" command when covering security issues all has been well. When logging in as root and I try the faillog command with it's various switches such as -a, -m and -t all return "command not found use cnf to search". So I try searching and nothing is found. The "binary" file is there in /var/log and is read/write by all. In one post on another forum it was suggested to use the touch command so I did and the file changed from a binary to an 0 byte text file!

I did add an entry in the file /etc/login.defs that reads: FAILLOG_ENAB yes. I also added entries in the pam files for max logins and such. Note that there is no lockout of a user if the max number of tries (set to 5) is exceeded which is probably tied to this issue but not sure how yet.

Any help for setting this up in OpenSuse 11.4 would be greatly helpful and so far I have not found anything on their forums or websites.
 
Old 06-07-2011, 02:34 PM   #2
oldracer
LQ Newbie
 
Registered: Mar 2011
Posts: 4

Original Poster
Rep: Reputation: 0
I have posted this question on the OpenSuse forum also and so far there have been no responses and still no results appear when searching. In checking my students we find they all have the same issue with 11.4 but it seems fine in 9.0 so might there be a bug in 11.4 possibly? I find it unusual with forums that have this much exposure that no one has experienced this also??!!
 
Old 06-07-2011, 03:49 PM   #3
SL00b
Member
 
Registered: Feb 2011
Location: LA, US
Distribution: SLES
Posts: 375

Rep: Reputation: 112Reputation: 112
/var/log/faillog is not an executable. It's a database. The command that reads it is /usr/sbin/faillog.

Check to see if /usr/sbin is in your path. I had to add it to mine.
 
Old 06-07-2011, 10:06 PM   #4
oldracer
LQ Newbie
 
Registered: Mar 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for the reply. I had checked for the file /usr/sbin/faillog and it was/is not there. I had added that entry to my path a while ago so I could access other files in that area. I noted the documentation on the data structure of the entries so I figured there might be an executable file to access it or possibly a database call of some sort but nothing. I searched for a faillog executable in the various repos but nothing showed up at all?

Does anyone know where or how (besides a reinstall) to get the faillog executable?

Last edited by oldracer; 06-08-2011 at 11:59 AM.
 
Old 06-08-2011, 02:09 PM   #5
oldracer
LQ Newbie
 
Registered: Mar 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Any ideas why the faillog executable that is supposed to read the faillog log file does not seem to be in Suse 11.4????
 
  


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
make: CC: Command not found make: *** [main.o] Error 127 on opensuse 11.3 Leo89 Linux - Newbie 6 11-30-2012 06:13 PM
[SOLVED] update-grub: command not found, in OpenSuse 11.2 TheIndependentAquarius Linux - Newbie 18 02-27-2011 07:42 AM
[SOLVED] Trouble updating grub? Error: the symbol 'grub_getcharwidth' not found. mrbenson Linux - Newbie 2 05-04-2010 05:27 PM
Error in updating the file: 'pam_account' not found john_es Linux - Server 2 03-08-2009 12:01 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-28-2006 12:57 AM


All times are GMT -5. The time now is 11:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration