Skip to content

Commit

Permalink
Don't Have Sudo User
Browse files Browse the repository at this point in the history
This is better.
You run it with sudo, and it just logs you in as the new one.
  • Loading branch information
psycotica0 committed Aug 24, 2011
1 parent f755b32 commit 6818a16
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions enter_mirror
Original file line number Diff line number Diff line change
@@ -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.