Skip to contentSkip to conversation

proposal: per-user temporary directories on by default?

DISCUSSION Russell Coker 1 participant 1 message Jul 30, 2003 3 messages not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

On Fri, 25 Jul 2003 21:33, Dwayne C. Litzenberger wrote in the debian-devel mailing list:

Quoted 3 lines

Pretty soon, normal users are going to start using multiple uids in a session. (For example, each user could have their GnuPG/SSH/whatever private keys in a separate user's home directory that only

Currently in my SE Linux policy I have a different type used for the GPG keys which is not accessable to the regular user domain.

For example a user logs in with domain user_t and their home directory has type user_home_dir_t. When they run gpg it runs in domain user_gpg_t. When programs in the user_gpg_t domain create directories inside a directory of type user_home_dir_t the type for the new directories (and any files they contain) will be user_gpg_secret_t which is not readable by user_t.

So gpg has full read/write access to it's configuration files, but the domain which runs gpg does not.

The problem is that occasionally users need to change their gpg options file. One possibility I am considering is to have a domain to use for this, so the user could run "newrole -t user_high_t" or something similar. Newrole then asks the user for their password and runs a shell in the new domain.

Currently the protection for the ~/.ssh directory in the SE Linux policy is not as good, I should probably improve it.

Signature · 11 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.