All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Hal <hal_bg@yahoo.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: xguest_u, LDAP and /tmp
Date: Tue, 04 Mar 2008 10:34:33 -0500	[thread overview]
Message-ID: <47CD6C09.7010609@redhat.com> (raw)
In-Reply-To: <394679.44483.qm@web32205.mail.mud.yahoo.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hal wrote:
> 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?
> 
Ok I need to add auth_use_nsswitch to mozilla policy

> 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.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkfNbAgACgkQrlYvE4MpobPixQCgyhSn0VDs0xlqCMnfkYUN/WsI
RAAAoKTDrquBqR8uBLCyxcXeSnYHcWZS
=8lnu
-----END PGP SIGNATURE-----

--
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 15:36 UTC|newest]

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

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=47CD6C09.7010609@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=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.