All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hal <hal_bg@yahoo.com>
To: selinux@tycho.nsa.gov
Subject: xguest_u, LDAP and /tmp
Date: Tue, 4 Mar 2008 05:37:23 -0800 (PST)	[thread overview]
Message-ID: <394679.44483.qm@web32205.mail.mud.yahoo.com> (raw)

Hi all,
I have been trying to implement xguest on our public computer room.
The users are authenticated by OpenLDAP (for easier user maintenance since
there are many computers) and I successfully converted all the users to
xguest_u. 
I want to achieve a bit more security: I do not want the users to see other
usernames using for example "ps -ef", "who", lastlog, and /tmp or /var/tmp. 

I saw something in D.Walsh blog which seems promising:
======
Also add these lines to /etc/secuirty/namespace.conf
/tmp    tmpfs   tmpfs   ~xguest
/var/tmp        tmpfs   tmpfs   ~xguest
$HOME           tmpfs   tmpfs   ~xguest
======
So is there any way to make this default for all the users on all machines. And
new users to work automatically with such private /tmp and /var/tmp?

Converting users however introduced another problem with firefox, it stopped
working for the ldap users, but not for the local (/etc/passwd) ones which are
also xguests. Tcpdump revealed LDAP requests by firefox only for the LDAP
users. Any idea how to solve this issue?

Thank you in advance!
All ideas and solutions are welcome!

Hal




      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

             reply	other threads:[~2008-03-04 14:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04 13:37 Hal [this message]
2008-03-04 15:34 ` xguest_u, LDAP and /tmp Daniel J Walsh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=394679.44483.qm@web32205.mail.mud.yahoo.com \
    --to=hal_bg@yahoo.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.