View previous topic :: View next topic |
Author |
Message |
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Mon May 08, 2006 12:23 pm Post subject: |
|
|
This gnome app is going to be updated with Gnome 2.14 |
|
Back to top |
|
|
mlangc Arch/Herd Tester
Joined: 24 Jan 2006 Posts: 7
|
|
Back to top |
|
|
mrpete Apprentice
Joined: 01 Sep 2003 Posts: 184
|
Posted: Thu Jun 08, 2006 7:20 am Post subject: su - root problem |
|
|
I've just done an emerge -uD world and now whenever I do an su - I get the following:-
Code: | peter@xc-cube ~ $ su - root
Password:
configuration error - unknown item 'GETPASS_ASTERISKS' (notify administrator)
|
Anyone know what's happenning and what the solution is please? |
|
Back to top |
|
|
mrpete Apprentice
Joined: 01 Sep 2003 Posts: 184
|
Posted: Thu Jun 08, 2006 7:24 am Post subject: |
|
|
Just seen the following in /etc/login.defs and commented the GETPASS_ASTERISKS out. Seems to have fixed the problem.
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 |
|
|
Back to top |
|
|
fridrik n00b
Joined: 18 Dec 2004 Posts: 51
|
|
Back to top |
|
|
mrpete Apprentice
Joined: 01 Sep 2003 Posts: 184
|
Posted: Thu Jun 08, 2006 9:39 am Post subject: |
|
|
Thanks - this is indeed the same bug and the above is the correct solution:) |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Fri Jun 09, 2006 6:50 pm Post subject: Strange Login msg |
|
|
Hi, after
emerge --update system --deep
using
ACCEPT_KEYWORDS="~x86"
when I type login end press enter i see:
configuration error -unknown item 'GETPASS_ASTERISKS' ...
Everything seems to work ok. What is this.
but last time i emerged last KDE i used nls flag and linguas "lv en ru'
When I started kde i couldn't see any character ok buttons, menu and some text boxes.
I wonder what could go wrong. Could it be conected somehow?
Thanks |
|
Back to top |
|
|
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Fri Jun 09, 2006 7:01 pm Post subject: |
|
|
forgot to mention i use shadow 4.0.16 i gues |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Fri Jun 09, 2006 7:11 pm Post subject: |
|
|
Moved from Installing Gentoo to Other Things Gentoo.
Not about getting gentoo installed, so moved here. _________________ 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 |
|
|
sternklang Veteran
Joined: 10 Sep 2005 Posts: 1641 Location: Somewhere in time and space
|
Posted: Fri Jun 09, 2006 7:18 pm Post subject: |
|
|
There is an open bug against shadow 4.0.16 about this error. It doesn't seem to cause problems, and it doesn't seem to be at all related to your nls/linguas problem. |
|
Back to top |
|
|
adr n00b
Joined: 24 May 2005 Posts: 8
|
Posted: Fri Jun 09, 2006 11:18 pm Post subject: |
|
|
I get the same message (~amd64) also with no apparent affects. |
|
Back to top |
|
|
tagwar Tux's lil' helper
Joined: 11 Aug 2004 Posts: 147 Location: Karlsruhe
|
Posted: Sat Jun 10, 2006 8:02 am Post subject: |
|
|
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
|
Commenting out that last line solved it for me... |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 726 Location: USA
|
Posted: Fri Jun 16, 2006 3:16 pm Post subject: |
|
|
t35t0r wrote: | The solution to this problem is emerge pam-login and then run dispatch-conf or etc-update and let it update the files, esp login.defs |
I don't have pam-login and when I tried to emerge it I saw that shadow was blocking it. I thought about unmerging and re-emerging shadow but when I tried to unmerge it I got a serious warning that I was unmerging an important system package. So I killed the unmerge.
I then commented out the offensive line in /etc/login.defs and all is well. |
|
Back to top |
|
|
chashab n00b
Joined: 16 Jun 2004 Posts: 71 Location: Republic of Alumbia
|
Posted: Thu Aug 10, 2006 6:09 pm Post subject: |
|
|
it is possible to run a pamless system, i've done this to all my boxes for several years now.
after moving to pamless, you make get a few variable errors (as described by multiple parent posts) at login, commenting these vars out in /etc/login.defs will resolve this. |
|
Back to top |
|
|
mr_english n00b
Joined: 12 Aug 2006 Posts: 1
|
Posted: Sat Aug 12, 2006 6:35 am Post subject: |
|
|
Dopo aver fatto l'unmerge di pam-login e fatto l'emerge di shadow, se si dovessero riscontrare problemi al login con messaggi tipo
Code: | configuration error - unknow item <NOME_VARIABILE>... |
basta editare il file /etc/login.defs e commentare le righe che contengono le chiavi <NOME_VARIABILE>.
Per una lista degli item accettati da shadow, basta dare un'occhiata alla pagina del manuale di login.def digitando
|
|
Back to top |
|
|
ribx Apprentice
Joined: 20 Nov 2003 Posts: 219 Location: germany
|
Posted: Fri Sep 08, 2006 1:23 pm Post subject: |
|
|
mr_english: you probably used the wrong language?!
ok, i had this problem:
Code: | robin@Gamly ~ $ su -
configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
configuration error - unknown item 'MAIL_CHECK_ENAB' (notify administrator)
configuration error - unknown item 'OBSCURE_CHECKS_ENAB' (notify administrator)
configuration error - unknown item 'PORTTIME_CHECKS_ENAB' (notify administrator)
configuration error - unknown item 'QUOTAS_ENAB' (notify administrator)
configuration error - unknown item 'MOTD_FILE' (notify administrator)
configuration error - unknown item 'FTMP_FILE' (notify administrator)
configuration error - unknown item 'NOLOGINS_FILE' (notify administrator)
configuration error - unknown item 'ENV_HZ' (notify administrator)
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
configuration error - unknown item 'SU_WHEEL_ONLY' (notify administrator)
configuration error - unknown item 'CRACKLIB_DICTPATH' (notify administrator)
configuration error - unknown item 'PASS_CHANGE_TRIES' (notify administrator)
configuration error - unknown item 'PASS_ALWAYS_WARN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
configuration error - unknown item 'ENVIRON_FILE' (notify administrator)
|
but i could login as root. i have to say, that i have a fresh install and i USE="-pam". i tried to reemerge shadow and checked dispatch-conf. no updates/changes.
then i saw this:
Code: |
robin@Gamly ~ $ which su
/usr/bin/su
robin@Gamly ~ $ qfile /usr/bin/su
robin@Gamly ~ $
|
is it a link?
Code: |
robin@Gamly ~ $ ls -l /usr/bin/su
-rws--x--x 1 root root 42028 Sep 8 15:02 /usr/bin/su
|
no, it isnt.
Code: |
robin@Gamly ~ $ qfile su
sys-apps/shadow (/bin/su)
|
aha! its the su binary!?! i dont know where it comes from, maybe a stage3 problem, but its shouldnt be there.
Code: |
Gamly ~ # rm -f /usr/bin/su
robin@Gamly ~ $ source /etc/profile
robin@Gamly ~ $ which su
/bin/su
robin@Gamly ~ $ su
Password:
Gamly ~ #
|
done. _________________ The adopt an unanswered post initiative |
|
Back to top |
|
|
strangetales n00b
Joined: 01 Dec 2006 Posts: 1
|
Posted: Fri Dec 01, 2006 6:16 am Post subject: had the error PASS_MIN_LEN |
|
|
etc-update did not work
when re emerging pam-login revieved this message
emerge -uDp pam-login
These are the packages that would be merged, in order:
Calculating dependencies... done!
[blocks B ] sys-apps/pam-login (is blocking sys-apps/shadow-4.0.15-r2)
[blocks B ] >=sys-apps/shadow-4.0.14-r2 (is blocking sys-apps/pam-login-4.0.14)
[ebuild N ] sys-apps/pam-login-4.0.14 USE="nls -livecd (-selinux) -skey" |
|
Back to top |
|
|
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Fri Dec 01, 2006 11:09 am Post subject: |
|
|
Please, upgrate your system:
emerge --sync
emerge -avuDN world
If you get this blocker:
emerge -C pam-login
emerge shadow
emerge -avuDN world
Good luck! |
|
Back to top |
|
|
geo7780 n00b
Joined: 16 Mar 2006 Posts: 22
|
Posted: Wed Jan 31, 2007 7:07 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
VValdo Guru
Joined: 08 Jan 2005 Posts: 395
|
Posted: Wed Feb 14, 2007 3:56 am Post subject: |
|
|
I just got this out of the blue as well.
W |
|
Back to top |
|
|
truekaiser l33t
Joined: 05 Mar 2004 Posts: 810
|
Posted: Sun Feb 25, 2007 7:22 pm Post subject: |
|
|
ditto here.. but it doesn't seem to effect anything. |
|
Back to top |
|
|
Icer Guru
Joined: 26 Aug 2003 Posts: 395 Location: @home
|
Posted: Thu Mar 15, 2007 10:36 am Post subject: |
|
|
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. _________________ Everything can be done. There's just a longer delivery time for impossible projects. |
|
Back to top |
|
|
Kid Shenck n00b
Joined: 17 Dec 2004 Posts: 2
|
Posted: Wed Mar 28, 2007 3:23 am Post subject: |
|
|
On my system, most of the variables listed above are marked in my logins.def as "NOT SUPPORTED WITH PAM." On a pam system, it should be alright to comment out any of those lines with no problem.
Granted, it might be washed away with your next emerge world/etc-update, but it's surely a handy measure in the meantime.
--KidShenck _________________ Kid Shenck - Now with more Vitamins |
|
Back to top |
|
|
|