LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-21-2004, 10:50 AM   #1
drowbot
Member
 
Registered: Dec 2004
Location: Tulsa, OK, USA
Distribution: SUSE, ArchLinux, Gentoo, LFS, Slackware, Fedora
Posts: 100

Rep: Reputation: 15
Login error


I just build an LFS-6.0 base system. I have also installed cracklib, linux-PAM, and I reinstalled shadow, as the instructions tell you to after installing linux-PAM. Now, I can log in just fine, but when I do I get an error message:

unknown configuration item `CLOSE_SESSIONS'

Not sure what this means. It only does this when I log in as root. I use the "package-user" method for package management, and when I log in to one of the package-user accounts, I get no errors. But when I create a new package-user, I get a message that says "unknown guid 100". This doesn't seem to pose a problem though, the users work fine.

Here is my auth.log file:
Code:
Dec 20 23:04:32 zion PAM-securetty[485]: Couldn't open /etc/securetty
Dec 20 23:04:35 zion login(pam_unix)[485]: session opened for user root by (uid=0)
Dec 20 23:04:35 zion login[485]: unknown configuration item `CLOSE_SESSIONS'
Dec 20 23:04:35 zion login[485]: ROOT LOGIN  on `tty1'
Dec 20 23:05:18 zion PAM-securetty[549]: Couldn't open /etc/securetty
Dec 20 23:05:20 zion login(pam_unix)[549]: session opened for user root by (uid=0)
Dec 20 23:05:20 zion login[549]: unknown configuration item `CLOSE_SESSIONS'
Dec 20 23:05:20 zion login[549]: ROOT LOGIN  on `tty1'
Dec 20 23:06:23 zion PAM-securetty[577]: Couldn't open /etc/securetty
Dec 20 23:06:24 zion login(pam_unix)[577]: session opened for user root by (uid=0)
Dec 20 23:06:24 zion login[577]: unknown configuration item `CLOSE_SESSIONS'
Dec 20 23:06:24 zion login[577]: ROOT LOGIN  on `tty1'
Dec 20 23:09:58 zion su[619]: + tty1 root-linux-pam
Dec 20 23:11:30 zion su[4213]: + tty1 root-shadow
Dec 20 23:16:56 zion PAM-securetty[21838]: Couldn't open /etc/securetty
Dec 20 23:16:57 zion login(pam_unix)[21838]: session opened for user root by (uid=0)
Dec 20 23:16:57 zion login[21838]: unknown configuration item `CLOSE_SESSIONS'
Dec 20 23:16:57 zion login[21838]: ROOT LOGIN  on `tty1'
Dec 20 23:19:21 zion su[21878]: + tty1 root-xorg
Dec 21 01:40:17 zion login(pam_unix)[481]: session opened for user root by (uid=0)
Dec 21 01:40:17 zion login[481]: unknown configuration item `CLOSE_SESSIONS'
Dec 21 01:40:17 zion login[481]: ROOT LOGIN  on `tty1'
Dec 21 01:41:12 zion su[543]: + tty1 root-xorg
Dec 21 01:55:46 zion login(pam_unix)[480]: session opened for user root by (uid=0)
Dec 21 01:55:47 zion login[480]: unknown configuration item `CLOSE_SESSIONS'
Dec 21 01:55:47 zion login[480]: ROOT LOGIN  on `tty1'
Dec 21 01:55:50 zion su[508]: + tty1 root-xorg
Dec 21 02:05:51 zion login(pam_unix)[480]: session opened for user root by (uid=0)
Dec 21 02:05:51 zion login[480]: unknown configuration item `CLOSE_SESSIONS'
Dec 21 02:05:51 zion login[480]: ROOT LOGIN  on `tty1'
Dec 21 02:05:57 zion login(pam_unix)[481]: session opened for user root by (uid=0)
Dec 21 02:05:57 zion login[481]: unknown configuration item `CLOSE_SESSIONS'
Dec 21 02:05:57 zion login[481]: ROOT LOGIN  on `tty2'
Dec 21 02:08:15 zion su[556]: + tty1 root-xorg
Dec 21 08:46:28 zion login(pam_unix)[482]: session opened for user root by (uid=0)
Dec 21 08:46:28 zion login[482]: unknown configuration item `CLOSE_SESSIONS'
Dec 21 08:46:28 zion login[482]: ROOT LOGIN  on `tty3'
Any help would be greatly appreciated. Thanks!
 
Old 12-21-2004, 11:44 AM   #2
drowbot
Member
 
Registered: Dec 2004
Location: Tulsa, OK, USA
Distribution: SUSE, ArchLinux, Gentoo, LFS, Slackware, Fedora
Posts: 100

Original Poster
Rep: Reputation: 15
Nevermind, I think I may have found a patch to fix the problem. If this doesn't work I'll post again!

shadow-4.0.4.1-newgroup-login-pam-1.patch
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Login error..... josh89 Red Hat 11 01-10-2004 06:19 AM
Login Error EEprom Linux - Newbie 10 12-11-2003 02:32 PM
Login error MrFlex Linux - Newbie 5 11-24-2003 08:07 PM
Newbie Login Error HELP! Ro_laids Linux - General 6 04-17-2003 08:19 PM
GNOME error on login lgabrees Linux - Software 5 03-11-2003 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration