Created
June 18, 2014 23:10
-
-
Save stuartpb/0acf735c8fa6b1b55209 to your computer and use it in GitHub Desktop.
Get the base for home directories used by useradd
This file contains 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
unset HOME | |
[ -e /etc/default/useradd ] && source /etc/default/useradd | |
${HOME:=/home} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment