View previous topic :: View next topic |
Author |
Message |
sinisterdomestik l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/137930470045458c6e67379.jpg)
Joined: 28 Aug 2003 Posts: 685 Location: Texas
|
Posted: Wed Aug 03, 2005 9:42 pm Post subject: su to root configuration error - unknown item |
|
|
not sure if this is the right forum, but everytime i try and su, i get this, although it lets me change to root, not sure why, or what, this is/means
Code: | sinister@BlackBeauty:~ 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_PATH' (notify administrator)
configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
configuration error - unknown item 'ENV_SUPATH' (notify administrator)
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
root@BlackBeauty:~ |
anyone know what these mean??
Mod Edit: Made sticky and changed the title from "su to root error" - tomk
Unstuck. -- desultory _________________ Thou shalt NEVER speak of removing thine Linux |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
v3rtigo Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Jun 2004 Posts: 179
|
Posted: Wed Aug 03, 2005 10:02 pm Post subject: |
|
|
Did you do etc-update after your last emerge?
I remember i had same problem few days ago when tried to login as root it solved after etc-update. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sinisterdomestik l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/137930470045458c6e67379.jpg)
Joined: 28 Aug 2003 Posts: 685 Location: Texas
|
Posted: Wed Aug 03, 2005 10:09 pm Post subject: |
|
|
ahhhhh, easy fix thanks _________________ Thou shalt NEVER speak of removing thine Linux |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zietbukuel l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/110356057643f3796b17001.png)
Joined: 30 Dec 2005 Posts: 607
|
Posted: Sat Dec 31, 2005 5:50 pm Post subject: |
|
|
I cant fix it i get these message:
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
BUT i have this in my /etc/login.defs
PASS_MIN_LEN 5
I already reinstalled pam-login, replaced the config files with the new ones, etc... any help? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Blue Fox Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Funny_Figure/pilgrim.gif)
Joined: 09 Apr 2004 Posts: 216
|
Posted: Sun Jan 08, 2006 9:57 pm Post subject: |
|
|
Well, up, this is happening to me today(ziet's problem, not the first one) ![Crying or Very sad :cry:](images/smiles/icon_cry.gif) _________________ "Never argue with and idiot cuz he bring you down to his level and beat you with experience" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Blue Fox Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Funny_Figure/pilgrim.gif)
Joined: 09 Apr 2004 Posts: 216
|
Posted: Mon Jan 09, 2006 12:26 pm Post subject: |
|
|
I've figured this one out: In /etc/login.defs there is a line at the end of the file, commented it out and error is gone. ![Smile :)](images/smiles/icon_smile.gif) _________________ "Never argue with and idiot cuz he bring you down to his level and beat you with experience" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grad_guy Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Nov 2004 Posts: 109 Location: UCSD, La Jolla, CA
|
Posted: Tue Mar 14, 2006 8:47 pm Post subject: |
|
|
I did this.
and
Code: | env-update && source /etc/profile |
But it doesn't help at all.
login.defs said those parameters are all optional, some said it'OK to just comment them out.
Is that the right way to fix this?
If someone could confirm me on this, it'd be nice.
##EDIT##
re-emerge pam-login and etc-update didn't help either |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
csab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Apr 2005 Posts: 152 Location: Atlanta, GA
|
Posted: Wed Mar 15, 2006 1:45 am Post subject: |
|
|
Just the stupid question to you, who could not solve this problem: when you run etc-update, you do let it to update your configuration files, right? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
telengard n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1749976227400e0d4190345.gif)
Joined: 21 Jan 2004 Posts: 12 Location: New Hampshire
|
Posted: Wed Mar 15, 2006 1:48 am Post subject: |
|
|
v3rtigo wrote: | Did you do etc-update after your last emerge?
I remember i had same problem few days ago when tried to login as root it solved after etc-update. |
I got this error also, but after building I could have sworn there was no message to update configs via etc-update. pam was one of the packages that was upgraded. That did fix the issue for me though, thanks for the help.
~telengard |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grad_guy Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Nov 2004 Posts: 109 Location: UCSD, La Jolla, CA
|
Posted: Wed Mar 15, 2006 2:08 am Post subject: |
|
|
csab wrote: | Just the stupid question to you, who could not solve this problem: when you run etc-update, you do let it to update your configuration files, right? |
Sorry for being a noob.
I know I am.
etc-update DOES help fix this if you let it update the config files.
Thanks
##EDIT##
What I actually did are the following(incase some need to know);
etc-update then let it auto-merge (-5)
Then I go after the files I think I change something in there, e.g. /etc/conf.d/local.start , /etc/conf.d/hostname , /etc/conf.d/domainname, /etc/rc.conf ...
And fix them.
I believe the topic deserves a little update, "[SOLVED]". ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
t35t0r n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Feb 2005 Posts: 68 Location: irc.freenode.net
|
Posted: Sat Mar 18, 2006 7:49 pm Post subject: |
|
|
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 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
StarDragon Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/3299116104950506c928ca.jpg)
Joined: 19 Jun 2005 Posts: 390 Location: tEXas
|
Posted: Sun Mar 19, 2006 10:53 pm Post subject: |
|
|
Cool, that works... I love you guys! ![Cool 8)](images/smiles/icon_cool.gif) _________________ "After all, a person's a person, no matter how small."--Horton Hears A Who! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
joe82 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Feb 2006 Posts: 23 Location: Ludwigsburg, Germany
|
Posted: Wed Mar 22, 2006 12:51 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 |
Didn't work for me. After emerging pam-login no configuration files should be updatet. etc-update and dispatch-conf don't do anything. Someone may post his /etc/login.defs to check which lines can be removed or uncommented.
Thx |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pizentios n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Feb 2005 Posts: 26 Location: Brandon, Manitoba, Canada
|
Posted: Wed Mar 22, 2006 3:34 pm Post subject: |
|
|
i just commented out the lines in login.defs that were causing the errors, seems to work fin for me. _________________ -Pizentios |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gherkin n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Southpark/avatar20.gif)
Joined: 03 Mar 2006 Posts: 4
|
Posted: Wed Mar 22, 2006 5:44 pm Post subject: |
|
|
I encountered this error whilst su'ing during an emerge -uD world. After the emerge was finished I ran etc-update, compared the changes to files I had modified and automerged the rest. Problem solved. _________________ maguire's emwrap |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
asterix404 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 05 Nov 2004 Posts: 213
|
Posted: Mon Apr 17, 2006 6:52 pm Post subject: |
|
|
You know though, this is a funny funny thing... EVN_ROOTPATH for me is being bitchy. I made a horrid mistake (when will i learn) and deleated the old configs, the things that are like... .__cfg???? whatever. The funny bit from this is this:
ENV_ROOTPATH /sbin:/bin:/usr/sbin:/usr/bin
ENV_SUPATH /sbin:/bin:/usr/sbin:/usr/bin
my rootpath defaults to my user path when I log on as root, when I su this actuilly does work. It made my comptuer better! This to me means that they changed a lot of init vars in the last update and didn't bother to make the /etc/login.def backwards compatable thinking that all you would have to do is etc-update. IE I really think that even if you have these errors it's not going to do anything harmful, can someone back me up here though? I can't really see any security holes anywhere from the vars that are here, but this just seems to beg the question...
Where does root get it's path from? The only thing I could come up with was that the dev's made it just like the users where you have your .bashrc and this defines everything for your env login. If I run into some problems I'll start posting but for now, without a valid actual file, I am not seeing any issues. I could of course be horrably wrong though. ~Ben |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sebastianfietzek n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Apr 2006 Posts: 2
|
Posted: Fri Apr 21, 2006 5:23 am Post subject: |
|
|
hi!
i had the same problem and i guess i found a working solution, but it is not the best way to fix the problem so if there are other ways try these...
first you have to backup /etc/login.defs and the complete folder /etc/pam.d/ then you do "emerge --unmerge pam pam-login". after that you delete these files and folders (/etc/login.defs and /etc/pam.d/) completely and re-emerge pam and pam-login. (emerge pam pam-login). the last step is to copy the backed-up files back into the /etc-folder and do NOT overwrite the "newly" emerged files.
it worked for me, but like i said: if you can fix it in another way you should do it! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ptaylor n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 Apr 2006 Posts: 2
|
Posted: Fri Apr 21, 2006 1:34 pm Post subject: |
|
|
this one scared me, but the etc-update worked
Code: | etc-update
env-update && source /etc/profile
|
yay! _________________ Philip Taylor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pacho2 Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/48460800842a9c07738bf9.jpg)
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Sun Apr 23, 2006 1:05 pm Post subject: |
|
|
It's a gnome-system-tools bug. If you try to create a new user account using this app, login will fail |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ajmacca n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Apr 2006 Posts: 2 Location: Brisbane, Australia
|
Posted: Sat Apr 29, 2006 3:29 am Post subject: |
|
|
I just wanted to confirm that sebastianfietzek's method worked for me also. It's only been a day, and I haven't restarted yet, but after running Code: | env-update && source /etc/profile | everything is working fine. If I encounter any other problems, I'll post them back here. And before anybody asks, for some reason that escapes me now, I mustn't have let etc-update write a new login.defs file, which is why etc-update doesn't help me. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pacho2 Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/48460800842a9c07738bf9.jpg)
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Sat Apr 29, 2006 10:18 am Post subject: |
|
|
If you run "users-admin" (from gnome-system-tools), you will suffer the problem again |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
avieth Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Mario/Mario_-_Luigi.gif)
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Sat Apr 29, 2006 7:46 pm Post subject: |
|
|
I've got my own solution. What I had done was updated world, then since I don't trust etc-update at all (it f**ked me over before) I didn't let it update anything. So I moved /etc/login.defs to /etc/login.defs.old and remerged pam-login. It worked. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
senthilkumar00 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 Apr 2005 Posts: 1
|
Posted: Wed May 03, 2006 1:44 am Post subject: |
|
|
I had the same problem. I actually emerge pam-login and did etc-update with option -3. It worked for me |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ed_f n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 May 2006 Posts: 1
|
Posted: Thu May 04, 2006 9:49 am Post subject: |
|
|
So the problem seems to be that some oprions are present in /etc/login.defs that the system does not recognize while loging in (or su-ing).
The only problem I had was the line "PASS_MIN_LEN 5".
I looked at the man page for login.defs and could not find any definition for PASS_MIN_LEN, however I found a man page on the internet which describes it as a password restriction option used by passwd (the man page : http://www.cs.vassar.edu/cgi-bin/man2html?login.defs+5). Could this be a deprecated option or distro-specific option or something like that?
I simply removed the line. The I tried to set the password to a very short one, and I still got a warning about the password beein to short.
Then I tried messing about with the user profiles with the gnome-system-tools and quite correctly the line "PASS_MIN_LEN 5" reappeared in /etc/login.defs/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MilkSjeik n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/11077752134262bbfb58a14.jpg)
Joined: 17 Apr 2005 Posts: 66 Location: Belgium
|
Posted: Sun May 07, 2006 7:06 pm Post subject: |
|
|
avieth wrote: | I've got my own solution. What I had done was updated world, then since I don't trust etc-update at all (it f**ked me over before) I didn't let it update anything. So I moved /etc/login.defs to /etc/login.defs.old and remerged pam-login. It worked. |
Same thing for me. I've also learned to not use Gnome windows when creating another user ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|