togglesebool(8) SELinux Command Line documentation togglesebool(8)NAME
togglesebool - flip the current value of a SELinux boolean
SYNOPSIS
togglesebool boolean...
DESCRIPTION
togglesebool flips the current value of a list of booleans. If the value is currently a 1, then it will be changed to a 0 and vice versa.
Only the "in memory" values are changed; the boot-time settings are unaffected.
AUTHOR
This man page was written by Steve Grubb <sgrubb@redhat.com>
SEE ALSO selinux(8), booleans(8), getsebool(8), setsebool(8)sgrubb@redhat.com 26 Oct 2004 togglesebool(8)
Check Out this Related Man Page
booleans(8) SELinux Command Line documentation booleans(8)NAME
booleans - Policy booleans enable runtime customization of SELinux policy.
DESCRIPTION
This manual page describes SELinux policy booleans.
The SELinux policy can include conditional rules that are enabled or disabled based on the current values of a set of policy booleans.
These policy booleans allow runtime modification of the security policy without having to load a new policy.
For example, the boolean httpd_enable_cgi allows the httpd daemon to run cgi scripts if it is enabled. If the administrator does not want
to allow execution of cgi scripts, he can simply disable this boolean value.
The policy defines a default value for each boolean, typically false. These default values can be overridden via local settings created
via the setsebool(8) utility, using -P to make the setting persistent across reboots. The system-config-securitylevel tool provides a
graphical interface for altering the settings. The load_policy(8) program will preserve current boolean settings upon a policy reload by
default, or can optionally reset booleans to the boot-time defaults via the -b option.
Boolean values can be listed by using the getsebool(8) utility and passing it the -a option.
Boolean values can also be changed at runtime via the setsebool(8) utility or the togglesebool utility. By default, these utilities only
change the current boolean value and do not affect the persistent settings, unless the -P option is used to setsebool.
AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>. The SELinux conditional policy support was developed by Tresys Technology.
SEE ALSO getsebool(8), setsebool(8), selinux(8), togglesebool(8)dwalsh@redhat.com 11 Aug 2004 booleans(8)
Split large xml into mutiple files and with header and footer in file
tried below
it splits unevenly and also i need help in adding header and footer
command :
csplit -s -k -f my_XML_split.xml extrfile.xml "/<Document>/" {1}
sample xml
<?xml version="1.0" encoding="UTF-8"?><Recipient>... (36 Replies)
Here are instructions to clear the data cache for four browsers, Safari, Chrome, Firefox, Opera. In these examples I'm using MacOS Mojave, but it should be similar for any OS.
You can use these instructions to to clear and reload the cache if you have any issues with the Vue.js UserCP (current... (1 Reply)
Yesterday someone asked me to install TeamViewer and share my Mac screen with them while on a conference call.
I shut down my Mac before sleeping and woke up to some major problem with my 12-core CPU in hyperdrive, and the system activity monitor showed my Mac kernel_task was at 1,200% and the... (30 Replies)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
Hi,
I am attempting to extract the /lib/ paths using sed but it does not appear to work.
./copy_chroot_lib.sh ls echo | sed s#*\(/lib\).*#\1#g
linux-vdso.so.1 (0x00007fff77df1000)
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f28190ac000)
... (8 Replies)
hi,
I am searching for a native tool on MacOS that can increase the resolution of a group of image files whose aspect ratios (file width versus height) vary widely. There are numerous files so I don't wish to do this manually. Someone suggested the sips command with the resampling option but... (5 Replies)
I'm trying to use a bash script for a psych experiment that involves listening to sound files and responding. If I have something like the code below, how can I make sure that a key press is assigned to RESPONSE only after the second echo statement?
for i in 1 2 3; do
echo "Ready?"
sleep 2
... (10 Replies)
Hi all...
Well guys and gals, I jumped in at the deep end and found things that PERL cannot do by default.
Many tricky terminal escape codes are not catered for so I had to create workarounds.
One thing I searched for was this:
Passing perl variable to shell command
AND, @Neo this was... (15 Replies)
Python 3.8.0rc1 released today, 1st October 2019...
Just tried it out testing my AMIGA Python 1.4.0 code inside it and all are working, I can now test to the latest Python incarnation now.
Subjective opinion is that is seems seriously quick on my OSX 10.14.6, latest Mojave update.
Python... (0 Replies)
Hi Guys,
I wrote a collection of bash functions years ago and now need to use them again but
I'm getting some error messages when eval tries to expand the variables names.
I recollect that I used the shopt command to set one of the options but I can't quite
remember the command that I... (8 Replies)
I'm trying to complete a bash script to capture if an external webcam is active in a video conference session. Some users will switch the camera to the built-in MAC camera. When this happens I want to trigger a set of events.
Things tried: reviewed the console.app to look for patterns on when... (6 Replies)