Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

getenforce(1) [debian man page]

getenforce(1)						SELinux Command Line documentation					     getenforce(1)

NAME
getenforce - get the current mode of SELinux SYNOPSIS
getenforce DESCRIPTION
getenforce reports whether SELinux is enforcing, permissive, or disabled. AUTHOR
Dan Walsh, <dwalsh@redhat.com> SEE ALSO
selinux(8), setenforce(8), selinuxenabled(1) dwalsh@redhat.com 7 April 2004 getenforce(1)

Check Out this Related Man Page

matchpathcon(8) 					SELinux Command Line documentation					   matchpathcon(8)

NAME
matchpathcon - get the default SELinux security context for the specified path from the file contexts configuration. SYNOPSIS
matchpathcon [-V] [-N] [-n] [-f file_contexts_file ] [-p prefix ] filepath... DESCRIPTION
matchpathcon queries the system policy and outputs the default security context associated with the filepath. Note: Identical paths can have different security contexts, depending on the file type. (regular file, directory, link file, char file ...) matchpathcon will also take the file type into consideration in determining the default security context if the file exists. If the file does not exist, no file type matching will occur. OPTIONS
-n Do not display path. -N Do not use translations. -f file_context_file Use alternate file_context file -p prefix Use prefix to speed translations -V Verify file context on disk matches defaults AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>. SEE ALSO
selinux(8), matchpathcon(3), dwalsh@redhat.com 21 April 2005 matchpathcon(8)
Man Page

11 More Discussions You Might Find Interesting

1. Red Hat

Authentication Failed Dialog Box on Redhat 4.7

For some reason i cannot login using root or other accounts on my Linux system. When logging in at the main console it says "Authentication failed" in a dialog box with an OK button. The Linux system is Redhat 4.7. I've already checked /etc/pam.d/login, /etc/security/access.conf and ... (27 Replies)
Discussion started by: redhatuser2012
27 Replies

2. Red Hat

configuring vsftpd

hi everybody, i am new to linux. iam using centos 6.2, and trying to configure ftp server in my local network, i have seen one fpt server how to videos tutriol but iam unable to follow i have some confussion in /etc/vsftpd/vsftpd.conf about userlist_enable and userlist_deny,... (6 Replies)
Discussion started by: paruhang
6 Replies

3. Linux

passwd command not working in single user mode

dear all in single user mode i want to change password in RHEL server 6.0 (Santiago) i tired using passwd command it is not able to change. how to change it. thanks in advance (2 Replies)
Discussion started by: nikhil kasar
2 Replies

4. Red Hat

SELinux Security Context-External Drive

I have an external drive (1 TB) attached via usb to a server running Red Hat Linux 6.2. During an application install one step requires perms set by root. Even though I could ls -l and see that root was able to do the 4755 but the install would fail. Someone pointed out the dot in the permission... (3 Replies)
Discussion started by: rsheikh01
3 Replies

5. Red Hat

Apache start error

I have a new server, installed everything and tried to get it all up and running. Got the following issue: # /usr/local/apache/bin/apachectl start httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server:... (0 Replies)
Discussion started by: Tommyk
0 Replies

6. Red Hat

Fedora 19 "useradd" failure, GUI success

Hey guys/gals, I have a Fedora 19 box with a 26TB RAID set mounted as my home directory # mount|grep home /dev/md0 on /home type xfs (rw,relatime,seclabel,attr2,inode64,logbsize=128k,sunit=256,swidth=3584,noquota) I have been able to add/modify user accounts using VNC +... (4 Replies)
Discussion started by: jjinno
4 Replies

7. UNIX for Beginners Questions & Answers

What is wrong with file permission?

Friends, I have weird problem with my Linux OS. I have few files which is owned by root but could not be modified (edit, chmod, chown etc) # id uid=0(root) gid=0(root) groups=0(root) # whoami root # ls -l /etc/security/access-sshd.conf -rw-r--r-- 1 root root 431 Jun 22 03:31... (12 Replies)
Discussion started by: baluchen
12 Replies

8. Red Hat

Log rotation not working in Centos 7.2

All, I am facing an issue as log rotation not working for me as expected for tomcat in centos 7.2. I configured log rotation command in crontab */5 * * * * root /usr/sbin/logrotate /etc/logrotate.conf >/dev/null 2>&1 I am trying to rotate below tomcat logs owned by application... (0 Replies)
Discussion started by: shekar777
0 Replies

9. Linux

Apache SSL error: Private key not found

I have been given a test server (CentOS 6.6), as part of a job interview-with breaks in the system and to fix them. One of them was getting httpd to work. This was the initial error I faced whenever I attempted to start httpd root@ip-10-138-115-106 html]# service httpd start Starting httpd:... (0 Replies)
Discussion started by: hedkandi
0 Replies

10. Shell Programming and Scripting

Help with scripts

Hi Team, I have a group under that group i wanted to create more than 20 users. Can I create more than 20 users ?and all the users should have the rights to read only particular folder.Is it possible? Thanks, Iswarya.M (14 Replies)
Discussion started by: iswarya123
14 Replies

11. Shell Programming and Scripting

Ssh fails for one of two users on the same server.

I have two users on dest_host server viz wlsadm & wasadm. From src_host server with root user I m able to passwordless login to wlsadm@dest_host however, the same fails for wasadm@dest_host Below is the debug for both first the working ssh and then the non-working ssh. Works: ... (6 Replies)
Discussion started by: mohtashims
6 Replies