newuidmap (1)


NAME

newuidmap - set the uid mapping of a user namespace

SYNOPSIS

newuidmap pid uid loweruid count [uid loweruid count [ ... ]]

DESCRIPTION

The newuidmap sets /proc/[pid]/uid_map based on it's command line arguments and the uids allowed in /etc/subuid.

OPTIONS

There currently are no options to the newuidmap command.

NOTE

The only restriction placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the superuser, and then any value may be added. An account with a restricted login shell may not change her login shell. For this reason, placing /bin/rsh in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell back to its original value.

FILES

/etc/subuid

List of users subordinate user IDs.

/proc/[pid]/uid_map

Mapping of uids from one between user namespaces.

SEE ALSO

login.defs(5), useradd(8), usermod(8), newusers(8), userdel(8), subuid(5).