LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 06-23-2007, 01:39 AM   #1
shsaifee
LQ Newbie
 
Registered: Nov 2005
Posts: 8

Rep: Reputation: 0
How do I remove "Your default context is root:system_r:unconfined_t." when I Telnet?


Hello Friends,

When I telnet to the server, after giving the password I receive the following message:

Your default context is root:system_r:unconfined_t.

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

How can I disable this message?

Any help would be appreciated.

Thanks.

Saabir.
 
Old 06-23-2007, 03:50 PM   #2
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
You could edit: /etc/pam.d/su
find the line: session required /lib/security/$ISA/pam_selinux.so open multiple
and remove the word multiple from the end.

Better still, instead of telnet you could use ssh which is more secure.
 
Old 06-23-2007, 10:59 PM   #3
shsaifee
LQ Newbie
 
Registered: Nov 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Hi,

Thanks for the solution.

Apart from /etc/pam.d/su there is another file /etc/pam.d/remote where in we have to remove the word "multiple" from the following line:

session required pam_selinux.so multiple open

So, After we remove we do not get this message.

I got this from the redhat documentation.

Thanks for your co-operation and efforts.

Saabir.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 04:08 PM
sendmail: Remove "From: root" label davidmc57 Linux - Software 4 08-31-2006 03:57 PM
rlogin asks about "default context" -- RHEL4 prn Linux - General 2 04-05-2006 06:38 AM
Default Login is "Knoppix" how do i get into Root? phoenix07 Linux - Newbie 1 04-04-2004 04:40 AM


All times are GMT -5. The time now is 07:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration