Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PAM issue??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
atrain
Tux's lil' helper
Tux's lil' helper


Joined: 05 Oct 2004
Posts: 86

PostPosted: Thu Feb 10, 2005 3:48 pm    Post subject: PAM issue?? Reply with quote

Im having an issue, when i log in on a console i get:

Code:
PAM-env[11440]: Unknown PAM_ITEM: <DISPLAY>
login[[11440]: PAM pam_putenv: delete non-existent entry; DISPLAY
PAM-env[11440]: Unknown PAM_ITEM: <XAUTHORITY>
login[11440]: PAM pam_putenv: delete non-existent entry; XAUTORITY


I also cant get gensplash up....

any help would be aperciated...

<edit> cant compile k3b:

Code:
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/libsigc++-2.0.5/work/libsigc++-2.0.5/config.log

!!! ERROR: dev-libs/libsigc++-2.0.5 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed


<EDIT 2>
EVERYTHING IS SAYING THAT!!!! ARG!!! WHAT DO I DO!!!
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Thu Feb 10, 2005 9:02 pm    Post subject: Reply with quote

Try logging in as root, run startx, and see if anything happens.

For the compiling issue... try running gcc-config and then print the output out here.
Back to top
View user's profile Send private message
atrain
Tux's lil' helper
Tux's lil' helper


Joined: 05 Oct 2004
Posts: 86

PostPosted: Thu Feb 10, 2005 9:18 pm    Post subject: Reply with quote

im in the process of reinstalling, so i am running as root right now....

X starts.... im running firefox in it now

gcc seems to work now... thanx


I get a simular error when loging out of a terminal...... hopefully ill get it resolved...

as far as i can see, its not hurting me....
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Fri Feb 11, 2005 1:09 am    Post subject: Reply with quote

That error just pops up as a part of permissions and it's nothing really big to worry about. Just emerge and run a system logger at startup if you don't want to see PAM complain anymore.
Back to top
View user's profile Send private message
atrain
Tux's lil' helper
Tux's lil' helper


Joined: 05 Oct 2004
Posts: 86

PostPosted: Fri Feb 11, 2005 1:50 am    Post subject: Reply with quote

lol thanx i knew i forgot something....

i got some services, such as apache, webmin, ssh, metalog but i forgot to rc-update them!!!
_________________
Adopt an unanswered post today!

Dell:
Passive cooling, a cheap 200W power supply.
No voltage or temp monitors.
Beware...


Last edited by atrain on Fri Feb 11, 2005 5:04 am; edited 1 time in total
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Fri Feb 11, 2005 3:33 am    Post subject: Reply with quote

At least it's solved though ;).
Back to top
View user's profile Send private message
chance2105
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2004
Posts: 112
Location: Norman, OK USA

PostPosted: Sun Feb 13, 2005 6:58 am    Post subject: Reply with quote

Ya know, I just did a fresh install, and I'm getting what the parent poster is seeing.

Only difference is that I have vixie-cron merged, and is in my default runlevel, so I dunno what's the cause.
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Mon Feb 14, 2005 8:57 am    Post subject: Reply with quote

Assume the same sets of issues since all that vixie-cron does is enable you to run commands at different times. Try to run gcc-config as I suggested above and put your information printed out here. Also, print out your emerge --info information here too if you would please :).
Back to top
View user's profile Send private message
chance2105
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2004
Posts: 112
Location: Norman, OK USA

PostPosted: Tue Feb 15, 2005 6:20 am    Post subject: Reply with quote

Ok, I feel really silly right about now. :roll:

And yes, my problem is fully corrected by using a system logger.
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Tue Feb 15, 2005 12:54 pm    Post subject: Reply with quote

It wasn't really a "problem", but rather the fact that the system likes to report information somewhere and your logger is an excellent outlet for the system's verbose tendencies :).

Also, read this link for more info on how to get rid of those messages: http://livejournal.com/community/gentoo/198400.html
Back to top
View user's profile Send private message
baak6
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2003
Posts: 141

PostPosted: Tue Feb 15, 2005 1:10 pm    Post subject: Reply with quote

Regarding those annoying PAM messages...open up "/etc/security/pam_env.conf" and comment these three lines:
Code:

REMOTEHOST DEFAULT= OVERRIDE=@{PAM_RHOST}
DISPLAY DEFAULT=${REMOTEHOST}:0.0
XAUTHORITY DEFAULT= OVERRIDE=@{XAUTHORITY}

Code:

#REMOTEHOST DEFAULT= OVERRIDE=@{PAM_RHOST}
#DISPLAY DEFAULT=${REMOTEHOST}:0.0
#XAUTHORITY DEFAULT= OVERRIDE=@{XAUTHORITY}

Did the job for me.
Back to top
View user's profile Send private message
Heretic
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2002
Posts: 114
Location: Austin, TX USA

PostPosted: Fri Mar 25, 2005 8:15 pm    Post subject: Reply with quote

Runespoor wrote:
Regarding those annoying PAM messages...open up "/etc/security/pam_env.conf" and comment these three lines:
Code:

REMOTEHOST DEFAULT= OVERRIDE=@{PAM_RHOST}
DISPLAY DEFAULT=${REMOTEHOST}:0.0
XAUTHORITY DEFAULT= OVERRIDE=@{XAUTHORITY}

Code:

#REMOTEHOST DEFAULT= OVERRIDE=@{PAM_RHOST}
#DISPLAY DEFAULT=${REMOTEHOST}:0.0
#XAUTHORITY DEFAULT= OVERRIDE=@{XAUTHORITY}

Did the job for me.


A better solution is to edit /etc/ssh/sshd_config and enable X11 forwarding which is now disabled by default:

Code:
X11Forwarding yes
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Sat Mar 26, 2005 5:41 am    Post subject: Reply with quote

Heretic wrote:


A better solution is to edit /etc/ssh/sshd_config and enable X11 forwarding which is now disabled by default:

Code:
X11Forwarding yes


I prefer the other solution-since I have it in use-cause I ensure that a) less ports are open to be exploited and b) I don't run X on one of my servers with SSH installed.
Back to top
View user's profile Send private message
Immortal Q
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 241
Location: Silicone Valley

PostPosted: Sun Apr 03, 2005 2:57 am    Post subject: Reply with quote

Runespoor wrote:
Regarding those annoying PAM messages...open up "/etc/security/pam_env.conf" and comment these three lines:
Code:

REMOTEHOST DEFAULT= OVERRIDE=@{PAM_RHOST}
DISPLAY DEFAULT=${REMOTEHOST}:0.0
XAUTHORITY DEFAULT= OVERRIDE=@{XAUTHORITY}

Code:

#REMOTEHOST DEFAULT= OVERRIDE=@{PAM_RHOST}
#DISPLAY DEFAULT=${REMOTEHOST}:0.0
#XAUTHORITY DEFAULT= OVERRIDE=@{XAUTHORITY}

Did the job for me.


Oh, nice - that worked rather well; I don't run X on this machine so I have no qualms getting rid of those. Now, to continue with my campaign of getting /var/log/* in shape!
_________________
Osmos.org
Now with 20% fewer rabid primates.
Back to top
View user's profile Send private message
mr666white
n00b
n00b


Joined: 24 Aug 2004
Posts: 52

PostPosted: Sat Apr 23, 2005 12:24 pm    Post subject: Reply with quote

If i comment out those lines, will it break my X11 forwarding?
_________________
www.technomancer.me.uk
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Sat Apr 23, 2005 3:41 pm    Post subject: Reply with quote

Read Heretic's second comment.
Back to top
View user's profile Send private message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Fri Sep 09, 2005 12:53 am    Post subject: Reply with quote

Runespoor wrote:
Regarding those annoying PAM messages...open up "/etc/security/pam_env.conf" and comment these three lines:
Code:

REMOTEHOST DEFAULT= OVERRIDE=@{PAM_RHOST}
DISPLAY DEFAULT=${REMOTEHOST}:0.0
XAUTHORITY DEFAULT= OVERRIDE=@{XAUTHORITY}

Code:

#REMOTEHOST DEFAULT= OVERRIDE=@{PAM_RHOST}
#DISPLAY DEFAULT=${REMOTEHOST}:0.0
#XAUTHORITY DEFAULT= OVERRIDE=@{XAUTHORITY}

Did the job for me.
yep, likewise.. thank you.. im not running X so not a concern for me..
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
Page 1 of 1

 
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