Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
su to root configuration error - unknown item
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
static_k
n00b
n00b


Joined: 10 Oct 2005
Posts: 73
Location: NY

PostPosted: Wed Nov 07, 2007 2:46 pm    Post subject: Reply with quote

Icer wrote:
geo7780 wrote:
Hi

I have update Gnome-2.16 and I have add a new user. Since this I have a error when I run the command su :

unknow item PASS_MIN_LEN

Do you have a idea to solve this problem ?

Thanks

I just fixed this one on my rig. I read several posts here on the forum. Some tell you run etc-update... some just to re-emerge pam-login. I thought ok and did so but it didn't help. What is pam-login anyway? Emerge didn't find it. Also I tried comment out the PASS_MIN_LEN 5 in the /etc/login.defs but it doesn't help either. Ok... enough jadajada. One post in these forums said re-emerge shadow. I did so and lo and behold the issue is gone. :)


Thanks Icer! That did the trick.
Code:
emerge shadow

then
Code:
etc-update
Back to top
View user's profile Send private message
sawatts
n00b
n00b


Joined: 18 Jan 2005
Posts: 23
Location: Hampshire, UK

PostPosted: Wed Nov 28, 2007 8:39 pm    Post subject: Reply with quote

I've had the "PASS_MIN_LEN" things for a while now. I just upped my system to gcc 4.x, so spent a few days rebuilding everything, and it didn't go away. I also tried re-emerging shadow, to no effect.

I just commented out the 'PASS_MIN_LEN 5' entry in '/etc/login.defs', which solved the issue for me. Note that this entry occurred three times, with the uncommented entry one its own at the end of the file.
Back to top
View user's profile Send private message
ok
Guru
Guru


Joined: 11 Jul 2006
Posts: 390
Location: germany

PostPosted: Mon May 26, 2008 12:35 am    Post subject: Reply with quote

I got the same messages after I updated to sys-apps/shadow-4.1.2 (emerge -uDN world) and run etc-update:
Quote:
unknown configuration item `FAILLOG_ENAB'
...

Downgrading to sys-apps/shadow-4.1.1 and comparing the etc/logins.defs. In the new version all commented entries where uncommented, so I updated again but without running etc-update.
Code:
#FAILLOG_ENAB           yes     (NOT SUPPORTED WITH PAM)
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Mon May 26, 2008 7:06 am    Post subject: Reply with quote

ok wrote:
I got the same messages after I updated to sys-apps/shadow-4.1.2 (emerge -uDN world) and run etc-update:
Quote:
unknown configuration item `FAILLOG_ENAB'
...

Downgrading to sys-apps/shadow-4.1.1 and comparing the etc/logins.defs. In the new version all commented entries where uncommented, so I updated again but without running etc-update.
Code:
#FAILLOG_ENAB           yes     (NOT SUPPORTED WITH PAM)


Confirmed. The beast rears its ugly head again. Same warnings here. Looking forward to hear what the fix is this time... ;-)
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
ok
Guru
Guru


Joined: 11 Jul 2006
Posts: 390
Location: germany

PostPosted: Mon May 26, 2008 7:22 am    Post subject: Reply with quote

Bugzilla Bug 223631: https://bugs.gentoo.org/show_bug.cgi?id=223631
Back to top
View user's profile Send private message
mithandra
n00b
n00b


Joined: 03 Jan 2006
Posts: 37

PostPosted: Fri Aug 01, 2008 2:05 pm    Post subject: Reply with quote

i just followed one of the posts which worked find for me

Comment out the line in /etc/login.defs

Code:

# When prompting for password without echo, getpass() can optionally
# display a random number (in the range 1 to GETPASS_ASTERISKS) of '*'
# characters for each character typed.  This feature is designed to
# confuse people looking over your shoulder when you enter a password :-).
# Also, the new getpass() accepts both Backspace (8) and Delete (127)
# keys to delete previous character (to cope with different terminal
# types), Control-U to delete all characters, and beeps when there are
# no more characters to delete, or too many characters entered.
#
# Setting GETPASS_ASTERISKS to 1 results in more traditional behaviour -
# exactly one '*' displayed for each character typed.
#
# Setting GETPASS_ASTERISKS to 0 disables the '*' characters (Backspace,
# Delete, Control-U and beep continue to work as described above).
#
# Setting GETPASS_ASTERISKS to -1 reverts to the traditional getpass()
# without any new features.  This is the default.
#
GETPASS_ASTERISKS 0


thanks mithandra
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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