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  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pacho2
Developer
Developer


Joined: 04 Mar 2005
Posts: 2582
Location: Oviedo, Spain

PostPosted: Mon May 08, 2006 12:23 pm    Post subject: Reply with quote

This gnome app is going to be updated with Gnome 2.14
Back to top
View user's profile Send private message
mlangc
Arch/Herd Tester
Arch/Herd Tester


Joined: 24 Jan 2006
Posts: 6

PostPosted: Tue May 16, 2006 12:11 pm    Post subject: Reply with quote

there's a bug about this:
http://bugs.gentoo.org/show_bug.cgi?id=131097
Back to top
View user's profile Send private message
mrpete
Apprentice
Apprentice


Joined: 01 Sep 2003
Posts: 184

PostPosted: Thu Jun 08, 2006 7:20 am    Post subject: su - root problem Reply with quote

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
View user's profile Send private message
mrpete
Apprentice
Apprentice


Joined: 01 Sep 2003
Posts: 184

PostPosted: Thu Jun 08, 2006 7:24 am    Post subject: Reply with quote

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
View user's profile Send private message
fridrik
n00b
n00b


Joined: 18 Dec 2004
Posts: 51

PostPosted: Thu Jun 08, 2006 9:32 am    Post subject: Reply with quote

see bug http://bugs.gentoo.org/show_bug.cgi?id=135987
Back to top
View user's profile Send private message
mrpete
Apprentice
Apprentice


Joined: 01 Sep 2003
Posts: 184

PostPosted: Thu Jun 08, 2006 9:39 am    Post subject: Reply with quote

Thanks - this is indeed the same bug and the above is the correct solution:)
Back to top
View user's profile Send private message
tomk
Administrator
Administrator


Joined: 23 Sep 2003
Posts: 7219
Location: Sat in front of my computer

PostPosted: Thu Jun 08, 2006 12:53 pm    Post subject: Reply with quote

Merged from here.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Fri Jun 09, 2006 6:50 pm    Post subject: Strange Login msg Reply with quote

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
View user's profile Send private message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Fri Jun 09, 2006 7:01 pm    Post subject: Reply with quote

forgot to mention i use shadow 4.0.16 i gues
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


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

PostPosted: Fri Jun 09, 2006 7:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Fri Jun 09, 2006 7:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
adr
n00b
n00b


Joined: 24 May 2005
Posts: 8

PostPosted: Fri Jun 09, 2006 11:18 pm    Post subject: Reply with quote

I get the same message (~amd64) also with no apparent affects.
Back to top
View user's profile Send private message
tagwar
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2004
Posts: 147
Location: Karlsruhe

PostPosted: Sat Jun 10, 2006 8:02 am    Post subject: Reply with quote

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
View user's profile Send private message
tomk
Administrator
Administrator


Joined: 23 Sep 2003
Posts: 7219
Location: Sat in front of my computer

PostPosted: Sat Jun 10, 2006 12:19 pm    Post subject: Reply with quote

Merged from here.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
cfgauss
Guru
Guru


Joined: 18 May 2005
Posts: 324

PostPosted: Fri Jun 16, 2006 3:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
chashab
n00b
n00b


Joined: 16 Jun 2004
Posts: 71
Location: Republic of Alumbia

PostPosted: Thu Aug 10, 2006 6:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
mr_english
n00b
n00b


Joined: 12 Aug 2006
Posts: 1

PostPosted: Sat Aug 12, 2006 6:35 am    Post subject: Reply with quote

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

Code:
man login.defs


:lol:
Back to top
View user's profile Send private message
ribx
Apprentice
Apprentice


Joined: 20 Nov 2003
Posts: 210
Location: germany

PostPosted: Fri Sep 08, 2006 1:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
strangetales
n00b
n00b


Joined: 01 Dec 2006
Posts: 1

PostPosted: Fri Dec 01, 2006 6:16 am    Post subject: had the error PASS_MIN_LEN Reply with quote

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
View user's profile Send private message
pacho2
Developer
Developer


Joined: 04 Mar 2005
Posts: 2582
Location: Oviedo, Spain

PostPosted: Fri Dec 01, 2006 11:09 am    Post subject: Reply with quote

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
View user's profile Send private message
geo7780
n00b
n00b


Joined: 16 Mar 2006
Posts: 22

PostPosted: Wed Jan 31, 2007 7:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
VValdo
Guru
Guru


Joined: 08 Jan 2005
Posts: 395

PostPosted: Wed Feb 14, 2007 3:56 am    Post subject: Reply with quote

I just got this out of the blue as well.

W
Back to top
View user's profile Send private message
truekaiser
l33t
l33t


Joined: 05 Mar 2004
Posts: 634

PostPosted: Sun Feb 25, 2007 7:22 pm    Post subject: Reply with quote

ditto here.. but it doesn't seem to effect anything.
_________________
"My father rode a camel. I drive a car. My son flies a jet-plane. His son will ride a camel."
—Saudi saying
Too late to do anything about it, so just sit back and enjoy the fireworks.
Back to top
View user's profile Send private message
Icer
Guru
Guru


Joined: 26 Aug 2003
Posts: 395
Location: @home

PostPosted: Thu Mar 15, 2007 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Kid Shenck
n00b
n00b


Joined: 17 Dec 2004
Posts: 2

PostPosted: Wed Mar 28, 2007 3:23 am    Post subject: Reply with quote

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
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  Next
Page 2 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