togglesebool(8) SELinux Command Line documentation togglesebool(8)

# [NAME](#NAME)

togglesebool - flip the current value of a SELinux boolean

# [SYNOPSIS](#SYNOPSIS)

**togglesebool** *boolean...*

# [DESCRIPTION](#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](#AUTHOR)

This man page was written by Steve Grubb &lt;sgrubb@redhat.com&gt;

# [SEE ALSO](#SEE_ALSO)

[**selinux**(8)](/man/os/libselinux/selinux.8), [**booleans**(8)](/man/os/libselinux/booleans.8), [**getsebool**(8)](/man/os/libselinux/getsebool.8), [**setsebool**(8)](/man/os/libselinux/setsebool.8)

26 Oct 2004 sgrubb@redhat.com

---

Document: togglesebool(8) from libselinux 3.11-r2 (Chainguard OS)
Source: https://github.com/SELinuxProject/selinux.git
