Created
April 27, 2009 14:43
-
-
Save denis/102525 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install ntp ntpdate | |
aptitude -y install user-setup | |
user-setup | |
A user account will be created for you to use instead of the root account for non-administrative activities. | |
if [ -e $ROOT/etc/sudoers ]; then | |
$log $chroot $ROOT addgroup --system admin >/dev/null 2>&1 || true | |
$log $chroot $ROOT adduser "$USER" admin >/dev/null 2>&1 || true | |
cat <<EOF >>$ROOT/etc/sudoers | |
# Members of the admin group may gain root privileges | |
%admin ALL=(ALL) ALL | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment