Skip to content
  • Michal Vyskocil's avatar
    nspawn: spawn shell under specified --user · 687d0825
    Michal Vyskocil authored
    Add -u/--user option, which changes the effective and real user and
    group id to the new value. The user must exists in the chroot, otherwise
    it will fail. Both username and user id are accepted. The user home is
    created as well.
    
    It also setup HOME, USER, LOGNAME and SHELL variables .
    687d0825