The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
84 views

SELinux is preventing /opt/google/chrome-beta/nacl_helper from getattr access on the file /etc/passwd

I'm not sure why and if it's normal, but I keep getting popup from my SELinux Alert Browser: SELinux is preventing /opt/google/chrome-beta/nacl_helper from getattr access on the file ...
0
votes
0answers
15 views

Samba On Linux: Allow Sharing Of Files In FUSE-Mounted Partition

I have this server at home with a single SSD with the following partition scheme: sda1 = 512 MB - EFI Partition sda2 = 512 MB - FAT Boot Partition sda3 = 3096 MB - Linux-swap sda4 = 20 GB - Ext4 (OS) ...
0
votes
1answer
42 views

restorecon in CentOS does not follow fcontext order

Experimenting with file contexts, I have faced a strange behaviour and it looks to me I'm missing something. Here's what I do: Create a bunch of directories and files # mkdir -p /virtual/www/cgi-bin ...
0
votes
0answers
11 views

“Cannot open audit interface” upgrading libuuid1 — is selinux confused?

I have a Debian chroot on a Linux system running an alternative Linux distro. It's always worked fine in the past but in the past few months I've found myself unable to upgrade libuuid1. Instead it ...
1
vote
1answer
689 views

SELinux issues when adding rules

On my laptop I use Fedora 17 distro for the first time and I'm having some issues adding rules to semodule An example: # grep httpd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i ...
0
votes
0answers
17 views

Issues with SELinux and PAM logging in

I had a recent issue where users weren't able to log in our Linux server. In the logs I found: login: FAILED LOGIN 1 FROM tty1 FOR REDACTED, Authentication failure login: pam_succeed_if(login:auth): ...
0
votes
1answer
15 views

How to prevent SELinux from installing with CentOS 6.5

I know I can disable SELinux in CentOS 6.5, but I’d prefer to just not install it at all from the point of the actual, initial installation. But I can’t find anywhere in the CentOS installer to shut ...
1
vote
1answer
26 views

SELinux remove extended ACL

I have a set of files that can't have selinux's extended acl on them. When running ls -la I get a result similar to: -rwxr-xr-x. 1 root root 1 Aug 8 2014 filea -rwxr-xr-x. 1 root root 1 ...
2
votes
1answer
23 views

Is it possible to limit remote administration accesses of an admin using Selinux?

Suppose and admin needs to access a machine remotely.Root logins are disabled but he belongs to the sudoers list. I read that "sudo command" is good practice because you don't forget you are using ...
0
votes
0answers
37 views

HIPS for Linux (ie, interactive SELinux/AppArmor)

Windows has a number of programs (generally referred to as Host-based Intrusion Prevention Systems) that offer protection against difficult security threats (such as zero-day exploits) by blocking ...
0
votes
0answers
33 views

Does use of SELinux help mitigate buffer/heap-overflow vulnerabilities like glibc/Ghost?

Can using a mandatory access control solution (like SELinux) help to limit the vulnerability of a system to buffer/heap-overflow exploits like the newfound Ghost vulnerability in glibc? (I realize ...
1
vote
3answers
773 views

PHP can't connect to PostgreSQL with “permission denied” error with SELinux

My PHP app can connect when I turn off SELinux, but not with it on. setenforce 0; curl -I http://domain.com; setenforce 1 Yields no errors in /var/log/httpd/error_log. However, if I have it on, I ...
32
votes
4answers
33k views

What does the dot mean at the end of `-rw-r--r--`? How do you set it with `chmod`?

I see that some of the files in my directories under Linux have a . at the end of the permissions listing. What does the dot mean at the end of -rw-r--r--? How do you set it with chmod?
1
vote
2answers
1k views

SELinux transition from unconfined_r to user_r

On a Fedora 18 machine, I have the following SELinux context as a regular user created during installation: $ sestatus SELinux status: enabled Loaded policy name: targeted ...
0
votes
0answers
17 views

SELinux Error with chcat “Requires at least one category”

I have been trying to figure out what's wrong with my chcat syntax. I keep running into this issue: root@dangerzone:~# chcat -l -- +SystemLow,+SystemHigh john /usr/bin/chcat: Requires at least one ...
5
votes
3answers
531 views

Is SELinux important if I'm the only one who uses my computers?

I've got two Fedora laptops and a CentoOS home server, but I'm the only person who uses any of them, with the exception of a smb share that a family member uses. Does SELinux have any real benefit if ...
2
votes
2answers
70 views

Selinux deny root user

I am using SELinux in my centos server. I am trying to change context of the file located in the /var/www/html as a root user. Root user is also not able to make any changes in the context of the ...
0
votes
1answer
54 views

Why does ssh/sshd on server try to access /home/<user>/.ssh after I moved my users home directory?

I moved my users home directory with usermod -m -d /path/to/new/home/username which seems to have worked fine. However, in my [moved] home directory I have the ".ssh" folder that is set up to allow ...
1
vote
3answers
747 views

semanage command not changing file context

I am trying to change selinux context for upload directory to enable anonymous upload. This is the Directory path /var/ftp/upload This is the default context [root@server ftp]# ls -Z upload ...
0
votes
0answers
54 views

OpenShift Origin: isolating application containers from local network

My network with OpenShift Origin is setup like this: A firewall running pfSense (172.16.0.1 + external IP) A ProCurve J9029A switch (if that helps...) An Ubuntu-based Virtualbox hypervisor ...
1
vote
0answers
51 views

Is there anyway you can restrict users from executing a command with another name?

I'm not asking an obvious question here. I would like to elucidate with an example. A user 'bob' is always executing 'chmod 777 /home/bob/impfiles' so that user 'alice' could make changes to the ...
0
votes
1answer
301 views

Is SELinux really useful or needed [closed]

So I noticed that Fedora takes around 35 seconds to boot and ArchBang was only taking around 15. I did soom looking into it and I guess SELinux has a lot to dow ith this and I was wondering if ...
1
vote
1answer
21 views

SELinux access only to opened files

I am studying SELinux. Using SELinux, can a binary be allowed to access files opened by its parent process, and no other files? If it cannot, then we should enhance it.
1
vote
1answer
295 views

Installing linux/selinux kernal headers

I'm trying to build the newest version of glibc (2.19) on CentOS 5.6 and I've run into some issues The documentation of glibc says that I need at minimum the linux kernal headers 2.6.19 (even if this ...
0
votes
1answer
322 views

How can I run Skype under an SELinux sandbox?

I would like to run Skype under an SELinux sandbox, to protect my computer. However I get the following error: usr/bin/skype: error while loading shared libraries: /lib/libQtWebKit.so.4: cannot ...
0
votes
1answer
190 views

Permission denied even with 777 and disabled selinux

On a centos 6.5 machine I wanted to create a general user, where its home directory is shared among many users, called shareduser /home/shareduser has mod 700 Then the shared folder is called: ...
6
votes
1answer
195 views

What are the main impacts of SELinux, from an administration point of view?

Thanks to Wikipedia and others, we can have a vague idea of what SELinux is. I understood it gives ways to handle permissions more precisely, but I'm really not aware about how. The question would ...
0
votes
1answer
431 views

Limit program's (Viber for Linux) access only to certain directory

Is it possible to limit programs' access only to certain directory, for example, to run Viber on Fedora and force it to only be able to read under /home/username/.local/share/viber/exchange and no ...
1
vote
1answer
117 views

vsftpd hides certain extensions, how to disable it?

I just enabled vsftpd on my laptop (Fedora 18 if that matters and vsftpd version 3.0.2) and tried to connect to it with my Android phone: success! Still, some minutes later, I stumbled upon a folder ...
0
votes
1answer
76 views

Disabled SELinux then rebooted, but reboot seems to have hanged?

I disabled SELinux by editing /etc/selinux/config to include the line SELINUX=disabled This change requires rebooting to activate, so I did that. I'm now sitting in front of a black screen with ...
0
votes
1answer
178 views

Prevent FTP transfer from failing when FTP server is restarted

When downloading large files (ca. 5GB) with the lftp client, I find that a restart of the FTP service (vsftpd) stops the transfer and I have to restart it from the beginning. Is there a way to prevent ...
3
votes
2answers
11k views

How do I remove any SELinux context or ACL?

HI, I have some files, that I'd like to remove the SELinux context or ACLs from (denoted by a '.' or a '+' respectively when using ls -alZ). I don't have too much time on my hands to read on the , ...
0
votes
0answers
536 views

How to allow apache to execute R binary from PHP exec() without disabling SELinux?

I have R installed in /opt/R of webserver. I need to execute script.r (In R BATCH mode) that is on directory /var/www/html/ using PHP function exec(). SELinux is enabled in the webserver. I suppose ...
1
vote
1answer
1k views

Configuring SELINUX to allow logging to a file that's outside /var/log

I have a daemon that uses syslog(3) to log to a file that is not a descendant of /var/log. Currently, this requires that SELINUX be disabled. How can I configure an enabled SELINUX to allow this ...
4
votes
2answers
4k views

Making SELinux play nice with OpenVPN (in NetworkManager)

I have been trying to use OpenVPN to connect to my work network. Using it via the command line works fine: openvpn user.conf I haven't bothered to set it up with DNS properly though, and it looks ...
0
votes
1answer
445 views

Sandbox tool on OpenSUSE with operation not permited

I have installed Se Linux on my OpenSUSE 11.3 system. All configuration are correct. When I use the sandbox tool: > LANG=C sandbox -X -H sehome -T tmp -t sandbox_web_t firefox /usr/bin/chcon: ...
0
votes
1answer
114 views

Selinux what's the right context for module like imagemagick /usr/bin/convert

I have an application I need to call from php, but selinux is preventing execmem for the application. I want to set the right context rather than allow bin_t or httpd_user_script_t execmem access. I ...
0
votes
1answer
307 views

fsarchiver utility in order to make restore

I use the fsarchiver in order to make restore as the following link: http://www.icewalkers.com/Linux/Software/535640/fsarchiver.html command: fsarchiver restfs /tmp/backup/c0d0p2.fsa ...
0
votes
1answer
288 views

Disable SELinux context

I've a RHEL 5 machine with SELinux disabled. sestatus -v SELinux status: disabled What is the effect of SELinux context on a user's home directory? ls -lZ -d zxtdfg drwx------ zxtdfg dba ...
0
votes
1answer
704 views

SELinux forbids access to httpd userdir

I am running a CentOS machine. I want to serve user directories with Apache, so I configured httpd.conf to allow the public_html directory. I have added the apache user to my usergroup and chmod g+xr ...
1
vote
1answer
288 views

SELinux - CentOSx86_64: User command limitation

SELinux - CentOSx86_64: User command limitation Is SELinux the right tool for this job? If so, what is the best way to do it? I would like to limit a particular user to only running some list of ...
3
votes
1answer
231 views

Sticky Bit and SELinux

I recently got the question how sticky bit and SELinux play together. I only found this one site about Linux Permissions on Fedora Are there any other concerns using sticky bits and SELinux together? ...
1
vote
1answer
1k views

Trying key based password-less SSH login to remote computer but still being asked for password

Trying to SSH in to remote computer but still asking for password. I have a number of computers running SElinux and only one of them is giving me a hard time using ssh without the password. I did ...
1
vote
1answer
934 views

Cannot write samba shares

Running samba 3.5 on Red Hat Enterprise 6.1 I'm having issues sharing two folders. Here is the output of testparm: [global] workgroup = DOMAINNAME server string = Samba Server Version %v ...
1
vote
0answers
37 views

What are the improvements of Flask compared with traditional MAC?

I know that traditional MAC has limitations, like that it provides poor support for data and application integrity, separation of duty, and least privilege requirements. So NSA and SCC developed a ...
0
votes
1answer
379 views

How to set up VPN on a new Fedora 16 install?

I have a new Fedora 16 install with Gnome and want to use VPN. The instructions at Riseup.net say if the certificate is not read because SEinux is enabled then I need to put my riseup.pem in ~/.cert. ...
1
vote
1answer
94 views

What is the highest SELinux privilege(role)?

I want to know what role is the highest role of SELinux. If I am mistaken, can anyone tell me what roles are available by default in SELinux?
1
vote
0answers
618 views

Allow SSH Password Login on Local Network

I have a home server running Fedora 16 I'd like to be able to access remotely via SSH. For users with sudo access, they should only be allowed to connect from the WAN with a key, but I want to allow ...
1
vote
1answer
212 views

How to set SELinux context for HTML files updated by Dropbox?

I am trying to use a shared Dropbox folder to make HTML files easily editable by several people, and am (re)mounting the Dropbox folder to somewhere in /var/www/ with the --bind option. I have the ...
1
vote
1answer
441 views

curl (7) permission denied on cgi script

Can't understand which permissions could be denied. Running cgi script from command line works fine. http_proxy="" curl http://url/ -o file Produces curl(7): permission denied (same issues with ...