Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Search Forums:



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-09-2006
Registered User
 

Join Date: Mar 2002
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up [FIXED] [ES rehat 4] telnet and default context at login

When i telnet the ES 4 server, i always get the question to accept the default context

Red Hat Enterprise Linux ES release 4 (Nahant Update 2)
Kernel 2.6.9-5.ELsmp on an i686
login: abc
Password:
Your default context is user_u:system_r:unconfined_t.

Do you want to choose a different one? [n]

I already followed the advice to change the /etc/pam.d/login

from
#pam_selinux.so open should be the last session rule
session required pam_selinux.so multiple open
to
session required pam_selinux.so open

But with no effect. not even after reboot

*************[SOLUTION]*************

You need to change 2 files in /etc/pam.d

/etc/pam.d/login and /etc/pam.d/remote with the following change

# pam_selinux.so open should be the last session rule
#session required pam_selinux.so multiple open
session required pam_selinux.so open

Last edited by progressdll; 02-10-2006 at 02:54 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cannot login via telnet or ssh to AIX 5.2 server pdtak UNIX for Advanced & Expert Users 5 04-10-2008 05:16 PM
Telnet login patch aladdin UNIX for Dummies Questions & Answers 2 12-12-2006 07:46 AM
telnet, rlogin, ssh login probblem anphdula UNIX for Dummies Questions & Answers 1 01-08-2006 09:13 AM
Unable to login at console and telnet vestro HP-UX 1 11-22-2005 12:53 AM
telnet login colesy UNIX for Dummies Questions & Answers 2 01-23-2003 08:46 AM



All times are GMT -4. The time now is 10:58 PM.