Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
su/login, gives out weird output but still works
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
spydirweb
n00b
n00b


Joined: 17 Aug 2005
Posts: 18
Location: my apartment

PostPosted: Mon Aug 22, 2005 3:25 am    Post subject: su/login, gives out weird output but still works Reply with quote

I just did a deep, new use world update and for some reason whenever I login or su now it spits out this:

$ 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)
#

It works fine, but I can't figure out why it's doing that or why it's saying all of that. I haven't been using gentoo to long, about all of 2 weeks now, so I'm still getting used to it. Am I just totally forgetting something really stupid?
_________________
www.netsyndrome.net -- designs.netsyndrome.net -- www.mobileasses.com
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Mon Aug 22, 2005 4:37 am    Post subject: Reply with quote

You probably disabled the pam USE flag and didn't recompile sys-apps/shadow. The errors are caused by unknown directives in /etc/login.defs (they're unknown since now the non-PAM login doesn't understand them). Make sure to recompile the entire base system when switching on or off the pam flag. Until the, to get rid of the warnings, edit /etc/login.defs and comment out the lines it complains about.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
wklam
n00b
n00b


Joined: 09 May 2005
Posts: 42

PostPosted: Mon Aug 22, 2005 11:38 am    Post subject: Re: su/login, gives out weird output but still works Reply with quote

spydirweb wrote:

$ 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)
#


Did you do "etc-update" after emerging? I got the same errors when I forgot to do etc-update after emerge --update world. It is caused by some packages update related to pam.

-William
Back to top
View user's profile Send private message
spydirweb
n00b
n00b


Joined: 17 Aug 2005
Posts: 18
Location: my apartment

PostPosted: Thu Aug 25, 2005 2:37 am    Post subject: Reply with quote

yeah, pam was still in USE. I know to do that.

I did a etc-update and it worked alright after a reboot or two. thanks!
_________________
www.netsyndrome.net -- designs.netsyndrome.net -- www.mobileasses.com
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Oct 16, 2005 7:45 pm    Post subject: Reply with quote

Moved from Gentoo on AMD64 to Duplicate Threads.
See here: https://forums.gentoo.org/viewtopic-t-366499.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum