semanage Verified current stable Not installed?

Semanage / Delete Login Mapping Linux User

Delete Login Mapping Linux User

Semanage command syntax to delete login mapping linux user. Copyable examples, output expectations, and common mistakes.

$
Terminal
sudo semanage login -d <linux_username>

Warning

Destructive operation. Confirm the target path and keep a backup before executing.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
sudo semanage login -d <linux_username>

Command Breakdown

What each part is doing

sudo
Base Command
The executable that performs this operation. Here it runs Semanage before the shell applies any redirect operators.
-d
d| delete
The value supplied for d| delete.
<linux_username>
linux username
The user value supplied to this command.
-d
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative tools that share the "network-diagnostics" operation intent.