Permalink
Browse files

Don't Have Sudo User

This is better.
You run it with sudo, and it just logs you in as the new one.
  • Loading branch information...
1 parent f755b32 commit 6818a16c29ffb6c620dedda1ab83fd11fe9b2a5a @psycotica0 committed Aug 24, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 enter_mirror
View
@@ -1,6 +1,5 @@
#!/bin/sh
UNION_LOCATION="/mnt/union"
-USER="psycotica0"
-chroot "$UNION_LOCATION" su -l "$USER"
+chroot "$UNION_LOCATION" su -l "$SUDO_USER"

0 comments on commit 6818a16

Please sign in to comment.