Answers:
创建目录/etc/skel/.virtualenvs
。该/etc/skel
目录将用作新主目录的框架。
它在中定义/etc/adduser.conf
:
# The SKEL variable specifies the directory containing "skeletal" user
# files; in other words, files such as a sample .profile that will be
# copied to the new user's home directory when it is created.
SKEL=/etc/skel
$WORKON_HOME
环境变量/etc/skel/.bashrc
,以及