Sponsored Content
Special Forums UNIX and Linux Applications Virtualization and Cloud Computing anyone running SELinux on amazon EC2? Post 302345436 by fpmurphy on Wednesday 19th of August 2009 08:45:58 AM
Old 08-19-2009
Please provide the full output from sestatus

What is the type of your filesystem? ext3? SELinux on Fedora/Redhat/Centos depends on filesystems that support extended attributes.

Check that /selinux/disable is not set to 1. Should be 0 or empty.
 

4 More Discussions You Might Find Interesting

1. Virtualization and Cloud Computing

Running MySQL on Amazon EC2 with Elastic Block Store

Here is an excellent article on Running MySQL on Amazon EC2 with Elastic Block Store. Amazon Web Services Developer Connection : Running MySQL on Amazon EC2 with Elastic Block Store (0 Replies)
Discussion started by: Neo
0 Replies

2. Virtualization and Cloud Computing

CEP as a Service (CEPaaS) with MapReduce on Amazon EC2 and Amazon S3

Tim Bass 11-25-2008 01:02 PM Just as I was starting to worry that complex event processing community has been captured by RDBMS pirates off the coast of Somalia, I rediscovered a new core blackboard architecture component, Hadoop. Hadoop is a framework for building applications on large... (0 Replies)
Discussion started by: Linux Bot
0 Replies

3. Virtualization and Cloud Computing

Securing code in Amazon EC2

Hi All, I am facing a problem, regarding code security on EC2. We have created an AMI which contains our code in it, and need to bind the code to the AMI so that no one can take the code out of the AMI. Are there some ways to achieve this ??? (2 Replies)
Discussion started by: akshay61286
2 Replies

4. UNIX and Linux Applications

A little help with seLinux

Situation: installed on Centos6.4 this samba4 package samba4-4.0.1-4.centos6.1.x86_64(wich had the path /usr/share/samba4 /var/lock/samba4,etc) I use selinux so i put in context /var/lock/samba4 -d system_u:object_r:samba_var_t:s0 /var/lock/samba4/.* -- ... (3 Replies)
Discussion started by: Linusolaradm1
3 Replies
setfilecon(3)						     SELinux API documentation						     setfilecon(3)

NAME
setfilecon, fsetfilecon, lsetfilecon - set SELinux security context of a file SYNOPSIS
#include <selinux/selinux.h> int setfilecon(const char *path, security_context_t con); int lsetfilecon(const char *path, security_context_t con); int fsetfilecon(int fd, security_context_t con); DESCRIPTION
setfilecon sets the security context of the file system object. lsetfilecon is identical to setfilecon, except in the case of a symbolic link, where the link itself has it's context set, not the file that it refers to. fsetfilecon is identical to setfilecon, only the open file pointed to by filedes (as returned by open(2)) has it's context set in place of path. RETURN VALUE
On success, zero is returned. On failure, -1 is returned and errno is set appropriately. If there is insufficient space remaining to store the extended attribute, errno is set to either ENOSPC, or EDQUOT if quota enforce- ment was the cause. If extended attributes are not supported by the filesystem, or are dis- abled, errno is set to ENOTSUP. The errors documented for the stat(2) system call are also applicable here. SEE ALSO
selinux(3), freecon(3), getfilecon(3), setfscreatecon(3) russell@coker.com.au 1 January 2004 setfilecon(3)
All times are GMT -4. The time now is 08:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy