Browse files

Force login shell when running useradd

This sets PATH to something reasonable.
  • Loading branch information...
1 parent f698fcb commit 872968b9a03e049f7ca4ea5e366e43e86cd8d4a1 Dmitriy Kalinin and Pieter Noordhuis committed Mar 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 warden/root/linux/skeleton/
@@ -90,7 +90,7 @@ else
# Add vcap user if not already present
-$(which chroot) mnt env -i /bin/bash <<-EOS
+$(which chroot) mnt env -i /bin/bash -l <<-EOS
if ! id vcap > /dev/null 2>&1
useradd -mU -u $user_uid -s /bin/bash vcap

0 comments on commit 872968b

Please sign in to comment.