Searched refs:user (Results 1 - 15 of 15) sorted by relevance
/lxc/src/tests/ |
H A D | lxc-test-usernic.in | 8 # This is a test script for the lxc-user-nic program 28 LXC_USER_NIC="@LIBEXECDIR@/lxc/lxc-user-nic" 37 sed -i '/usernic-user/d' /run/lxc/nics /etc/lxc/lxc-usernet 44 pkill -u $(id -u usernic-user) -9 46 rm -rf /tmp/usernic-test /home/usernic-user /run/user/$(id -u usernic-user) 48 deluser usernic-user 61 sudo -i -u usernic-user \ 63 XDG_RUNTIME_DIR=/run/user/ [all...] |
H A D | lxc-test-apparmor-mount | 41 XDG_RUNTIME_DIR=/run/user/$(id -u $TUSER) $* 56 rm -Rf $HDIR /run/user/$(id -u $TUSER) 83 # create a test user 110 mkdir -p /run/user/$(id -u $TUSER) 111 chown -R $TUSER: /run/user/$(id -u $TUSER)
|
H A D | lxc-test-unpriv | 79 rm -Rf $HDIR /run/user/$(id -u $TUSER) 93 XDG_RUNTIME_DIR=/run/user/$(id -u $TUSER) $* 96 # create a test user 126 mkdir -p /run/user/$(id -u $TUSER) 127 chown -R $TUSER: /run/user/$(id -u $TUSER)
|
/lxc/templates/ |
H A D | lxc-gentoo.in | 367 elif [[ "${user}" != "root" ]]; then 368 sed "s/agetty -a root/agetty -a ${user}/" -i "${rootfs}/etc/inittab" 369 printf " => Autologin on main console for %s enabled\n" "${user}" 371 store_user_message "${user} has autologin on main console" 375 store_user_message "${user} has autologin on main console" 633 if [[ "${user}" != "root" ]]; then 634 printf " non root user requested, creating... \n" 635 chroot "${rootfs}" useradd --create-home -s /bin/bash "${user}" || die 1 "failed to create user ${user}" [all...] |
H A D | lxc-ubuntu.in | 91 user=$4 134 chroot $rootfs useradd --create-home -s /bin/bash $user 135 echo "$user:$password" | chroot $rootfs chpasswd 168 # finish setting up the user in the container by injecting ssh key and 170 # passed-in user is either 'ubuntu' or the user to bind in from host. 173 user=$1 185 chroot $rootfs adduser ${user} $group >/dev/null 2>&1 || true 189 u_path="/home/${user}/.ssh" 193 chroot $rootfs chown -R ${user} [all...] |
H A D | lxc-archlinux.in | 104 ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target 314 "${rootfs_path}/etc/systemd/system/multi-user.target.wants/"
|
H A D | lxc-plamo.in | 165 < # What to do when power fails (shutdown to single user). 258 # bind-mount the user's path into the container's /home 290 [-b|--bindhome=<user>] 293 bindhome: bind <user>'s home into the container
|
H A D | lxc-cirros.in | 89 -u | --userdata U user-data file 176 rm -f "$sdir/meta-data" "$sdir/user-data" || 185 cat "$udfile" > "$sdir/user-data" || 186 { error "failed to write user-data to $sdir"; return 1; } 188 rm -f "$sdir/user-data"
|
H A D | lxc-openmandriva.in | 179 chroot ${rootfs_path} ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
H A D | lxc-debian.in | 235 chroot "${rootfs}" ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
|
H A D | lxc-fedora.in | 46 # If root_prompt_password = yes, invoke "passwd" to force the user to change 307 # Also set this password as expired to force the user to change it! 373 chroot ${rootfs_path} ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target 1291 # expired, forcing the user to change it at first login.
|
H A D | lxc-oracle.in | 131 # setting /proc/$$/loginuid doesn't work under user namespace, which 171 chroot $container_rootfs systemctl -q enable multi-user.target 183 # on ol4 pam_limits prevents logins when using user namespaces 465 # add oracle user 467 printf "Added container user:\033[1moracle\033[0m\n" 468 printf "Added container user:\033[1mroot\033[0m\n"
|
/lxc/src/lxc/ |
H A D | criu.c | 71 /* the user-provided migrate options relevant to this action */ 72 struct migrate_opts *user; member in struct:criu_opts 166 if (opts->user->predump_dir) 170 if (opts->user->pageserver_address && opts->user->pageserver_port) 174 if (strcmp(opts->action, "dump") == 0 && !opts->user->stop) 182 if (!opts->user->preserves_inodes) 186 if (opts->user->ghost_limit) 196 if (load_tty_major_minor(opts->user->directory, tty_info, sizeof(tty_info))) 209 if (opts->user [all...] |
H A D | lxc_user_nic.c | 131 "Failed to get number of groups the user belongs to: %s.\n", 141 "the user belongs to: %s.\n", 262 * user type bridge count 266 * Return the count entry for the calling user if there is one. Else 309 /* Found the user or group with the appropriate settings, 330 /* Now return the total number of nics that this user can create. */ 537 char user[100], type[100], br[100]; local 539 ret = sscanf(p, "%99[^ \t\n] %99[^ \t\n] %99[^ \t\n] %99[^ \t\n]", user, type, br, *nic); 643 * user type bridge nicname 779 "user ID [all...] |
/lxc/src/lxc/tools/ |
H A D | lxc-start-ephemeral.in | 103 parser.add_argument("--user", "-u", type=str, 104 help=_("the user to run the command as")) 364 if args.user: 365 username = args.user 384 print(_("Unable to switch to user: %s" % username)) 397 if args.user: 398 cmd += ["-l", args.user]
|
Completed in 44 milliseconds