LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-10-2006, 09:48 AM   #1
prn
Member
 
Registered: Apr 2005
Location: Muncie, IN, USA
Posts: 58

Rep: Reputation: 16
rlogin asks about "default context" -- RHEL4


Hi folks,

I'm in the process of setting up a (test) Beowulf cluster. One of the things I need to be able to do (and I have more explanation of why I want to do some of the seemingly dumb things here) is allow my users to rsh between nodes. I have so far apparently managed reasonable firewall settings and settings for hosts.deny and hosts.allow so that the only thing users from outside the cluster can do is ssh, but my users on the real cluster have lots of scripts that use rsh, and within the private network of that cluster it's not a security problem, so I don't want to force them to use ssh with its additional overhead there.

I can now ssh from node to node within the test cluster also, but when I do, I get this oddity that I've never seen before. Here's an example

Quote:
[prn@n02 ~]$ rsh n01
Your default context is user_u:system_r:unconfined_t.

Do you want to choose a different one? [n]n
Last login: Wed Mar 8 10:40:32 from n00
[prn@n01 ~]$
So, what is the "default context" and why is rlogin causing me to need to answer a question about it here. If I do what seems like it should be the "same thing" on the production cluster I get this:

Quote:
[prn@n22 prn]$ rsh n21
Last login: Fri Feb 18 11:07:57 from n0
[prn@n21 prn]$
I googled for:
linux rlogin "default context"
and found nothing that I could identify as useful. Does anyone have suggestions for better search terms?

What is this "default context"? Does anyone recognize this phenomenon? If so, does anyone have any suggestions for me? I really don't want users to have to answer a question like this every time they rlogin because my users are going to need to rsh a lot. The "real" cluster is currently running RH 8.0 and the test cluster is running RHEL4, so I can prepare for the OS upgrade to the real one.

Thanks,
Paul
 
Old 03-13-2006, 08:24 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Moved at users request.
 
Old 04-05-2006, 06:38 AM   #3
rob.purdy
LQ Newbie
 
Registered: Apr 2006
Posts: 1

Rep: Reputation: 0
Getting rid of the

I found that changing the line

session required pam_selinux.so multiple open

in /etc/pam.d/login and /etc/pam.d/remote

To remove the reference to multiple

i.e.


session required pam_selinux.so open
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dont get "extract here" choice on context menu eroica Mandriva 4 12-20-2005 01:38 PM
Getting error: "ALSA device "default" is already in use by another program." brynjarh Debian 7 02-04-2005 11:45 AM
add "open terminal here" to context menu nadroj Linux - Newbie 3 01-14-2005 10:52 PM
Running yum asks for "sysadmin to update headers" Equisilus Fedora 0 06-25-2004 04:52 PM
My friend's 12yr Old Daughter asks "What is Linux?" kcox920 General 17 01-30-2004 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:51 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