View previous topic :: View next topic |
Author |
Message |
static_k n00b
Joined: 10 Oct 2005 Posts: 73 Location: NY
|
Posted: Wed Nov 07, 2007 2:46 pm Post subject: |
|
|
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.
then
|
|
Back to top |
|
|
sawatts n00b
Joined: 18 Jan 2005 Posts: 23 Location: Hampshire, UK
|
Posted: Wed Nov 28, 2007 8:39 pm Post subject: |
|
|
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 |
|
|
ok Guru
Joined: 11 Jul 2006 Posts: 390 Location: germany
|
Posted: Mon May 26, 2008 12:35 am Post subject: |
|
|
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 |
|
|
meulie l33t
Joined: 17 Jun 2003 Posts: 845 Location: a Dutchman living in Norway
|
Posted: Mon May 26, 2008 7:06 am Post subject: |
|
|
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 |
|
|
ok Guru
Joined: 11 Jul 2006 Posts: 390 Location: germany
|
|
Back to top |
|
|
mithandra n00b
Joined: 03 Jan 2006 Posts: 37
|
Posted: Fri Aug 01, 2008 2:05 pm Post subject: |
|
|
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 |
|
|
|