semanage-login Verified for current stable LTS

Semanage Login Command: Modify Existing Login Mapping

Use for modify existing login mapping with Semanage Login. Exact CLI syntax to modify existing login mapping using Semanage Login.

When to use this: Use for modify existing login mapping with Semanage Login.

Command Syntax

sudo semanage login -m -s <selinux_user> <linux_username>

Live Command Builder

Final Command

sudo semanage login -m -s <selinux_user> <linux_username>

Command Breakdown

-m
Command Option
Tool-specific option used by this command invocation.
-s
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to modify existing login mapping using Semanage Login.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Semanage Login directory