Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

getenforce(8) [centos man page]

getenforce(8)						SELinux Command Line documentation					     getenforce(8)

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(8) dwalsh@redhat.com 7 April 2004 getenforce(8)

Check Out this Related Man Page

setsebool(8)						SELinux Command Line documentation					      setsebool(8)

NAME
setsebool - set SELinux boolean value SYNOPSIS
setsebool [ -PNV ] boolean value | bool1=val1 bool2=val2 ... DESCRIPTION
setsebool sets the current state of a particular SELinux boolean or a list of booleans to a given value. The value may be 1 or true or on to enable the boolean, or 0 or false or off to disable it. Without the -P option, only the current boolean value is affected; the boot-time default settings are not changed. If the -P option is given, all pending values are written to the policy file on disk. So they will be persistent across reboots. If the -N option is given, the policy on disk is not reloaded into the kernel. If the -V option is given, verbose error messages will be printed from semanage libraries. AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>. The program was written by Tresys Technology. SEE ALSO
getsebool(8), booleans(8), togglesebool(8), semanage(8) dwalsh@redhat.com 11 Aug 2004 setsebool(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