[ES rehat 4] telnet and default context at login


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users [ES rehat 4] telnet and default context at login
# 1  
Old 02-09-2006
MySQL [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 03:54 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Unable to automate telnet login

i have to connect windows server from one of the unix box so i am using telnet and below is my following code #!/bin/sh host=hostname log=loginid port=23 pass=password cmd1=mkdir test1234 ( echo open ${host} ${port} sleep 1 echo ${log} sleep 3 echo "\r\n" sleep 3 echo ${pass}... (11 Replies)
Discussion started by: chandan.p
11 Replies

2. UNIX for Dummies Questions & Answers

Console Login and Telnet

Hopefully my question makes sense, but I was wondering if the telnet service has anything to do with console logins or if they are completely unrelated. So for example, does the /etc/default/login file in UNIX have anything to do with Telnet? So if I want to verify that the root user can't login... (8 Replies)
Discussion started by: ixauditor
8 Replies

3. HP-UX

telnet login successful ,but ssh can not login

why I can login by telnet using root account but when i use login by ssh using root account it is not successful ,is it different password i am sure ssh service is started (2 Replies)
Discussion started by: alert0919
2 Replies

4. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

5. HP-UX

telnet banner message before login

why I didn't set /etc/inetd.conf telnet stream tcp nowait root /usr/lbin/telnetd \ telnetd -b /etc/issue only telnet stream tcp nowait root /usr/lbin/telnetd in /etc/ineted.conf but when I telnet my HPUX machine it shows those message HP-UX hp1008 B.11.31 U ia64 (tb) login: ... (1 Reply)
Discussion started by: alert0919
1 Replies

6. Solaris

Am not able to login as a root User with telnet

Hi to All, I have configured telnet service in my server but am not able to login with root user in Linux Servers. For that what can i do ? Please help me Thanks in Advance. (1 Reply)
Discussion started by: Sharath Kumar
1 Replies

7. AIX

disabling telnet login for root only

Hi, I want to disable telnet login for root only so that other users can telnet? Regards, Manoj (8 Replies)
Discussion started by: manoj.solaris
8 Replies

8. UNIX for Dummies Questions & Answers

Telnet login patch

Hello Everybody: I want to make a patch that telnet me directly to a specific IP with the specidied username and password. I tried the following : ------------------------------------------ telnet 10.11.161.10 user pass ---------------------------------------------------- but didnt log... (2 Replies)
Discussion started by: aladdin
2 Replies

9. HP-UX

Unable to login at console and telnet

Hi friend, I'm facing a problem to access the console and telnet to the HP ux 11 server due to the system file is full. How to access this server via single mode and how to mount the folder / and folder /var? thanks. vestro (1 Reply)
Discussion started by: vestro
1 Replies

10. UNIX for Dummies Questions & Answers

telnet login

I am having a problem logging into my SUN box. When i telnet to the box, i dont get as far as the login/password bit - instead i have the following appear on my screen: telnetd: could not grant slave pty Any suggestions would be greatly appreciated... Ta Rich (2 Replies)
Discussion started by: colesy
2 Replies
Login or Register to Ask a Question