LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-16-2006, 10:18 AM   #1
Whynot
Member
 
Registered: Jan 2005
Posts: 55

Rep: Reputation: 15
Question strange message whan i login as a root


Hi
i had my linux sistem upgraded to kde 3.5.1 and some other packages.But after i installed i get this message, whan i try to login as a root with su command.

Code:
whynot@Whynot ~ $ su
Password:
configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
configuration error - unknown item 'MOTD_FILE' (notify administrator)
configuration error - unknown item 'FTMP_FILE' (notify administrator)
configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
Wyhnot whynot #
How do i fix this error.
thanx.

Last edited by Whynot; 03-16-2006 at 10:49 AM.
 
Old 03-16-2006, 10:41 AM   #2
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Hi,

What distribution of Linux are you using? What happens if you login as a regular user? (logging in as root is generally considered unsafe)

Sincerely, Jorgen
 
Old 03-16-2006, 10:59 AM   #3
Whynot
Member
 
Registered: Jan 2005
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by anti.corp
Hi,

What distribution of Linux are you using? What happens if you login as a regular user? (logging in as root is generally considered unsafe)

Sincerely, Jorgen
I have linux from scratch.There is same error whan i switch to regular user.
Code:
whynot@Whynot ~ $ su
Password:
configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
configuration error - unknown item 'MOTD_FILE' (notify administrator)
configuration error - unknown item 'FTMP_FILE' (notify administrator)
configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)

Whynot whynot #
Whynot whynot # su whynot
configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
configuration error - unknown item 'MOTD_FILE' (notify administrator)
configuration error - unknown item 'FTMP_FILE' (notify administrator)
configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
whynot@Whynot ~ $
 
Old 03-16-2006, 12:34 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,285
Blog Entries: 54

Rep: Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854
Stuff like "FAILLOG_ENAB" comes from malformed or inconsistent entries in /etc/login.defs
Check if there are spaces instead of tabs between the variable and the value.

* Not to chide you in any way, but if you search LQ for some of these errors you could have found this on your own.
 
Old 03-16-2006, 01:40 PM   #5
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,004

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
Originally Posted by anti.corp
...(logging in as root is generally considered unsafe)...
I wouldn't go quite this extreme on the recommendation myself. I'd suggest something like: "Use caution when logged in as root. Do not use root for general tasks that do not require it's high level of privileges. With root, you have carte blanche to save your system ... or destroy it!"
 
Old 03-16-2006, 03:39 PM   #6
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,377

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
Well, presumably, as a Linux From Scratch user, he knows that. It sounds to me like a problem in the login.defs file.

However... are you using PAM? If so, the problem could be there.

From time to time, messages like these will pop-up, which disappear after /sbin/ldconfig and reboot.
 
Old 03-16-2006, 05:45 PM   #7
Whynot
Member
 
Registered: Jan 2005
Posts: 55

Original Poster
Rep: Reputation: 15
thanx all.Now it works fine.
i use mostly sudo but sometimes i need to switch to other users
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup system Login banner and Login message 06-03-05 Linux - Newbie 9 11-03-2011 11:42 AM
strange message kapa Suse/Novell 1 03-10-2005 03:09 AM
strange (?) system message overlord73 Fedora 1 01-07-2005 03:11 AM
Strange login error message Post Linux - General 2 04-25-2004 01:13 PM
strange problem with root login/su schbond Linux - General 6 10-17-2003 09:52 AM


All times are GMT -5. The time now is 08:49 PM.

Main Menu
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