1 |
# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_auth.sh,v 1.4 2005-09-07 18:41:29 niro Exp $ |
# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_auth.sh,v 1.5 2005-09-07 19:14:24 niro Exp $ |
2 |
# configures the system authentification via mysql db settings |
# configures the system authentification via mysql db settings |
3 |
|
|
4 |
get_auth_settings() |
get_auth_settings() |
53 |
if [ -n "${ALX_AUTH_VNC_PW}" ] |
if [ -n "${ALX_AUTH_VNC_PW}" ] |
54 |
then |
then |
55 |
# pipe it 2x; 1st for new pw, 2nd to validate |
# pipe it 2x; 1st for new pw, 2nd to validate |
56 |
vncpasswd &> /dev/null << EOF |
HOME=/root vncpasswd &> /dev/null << EOF |
57 |
${ALX_AUTH_VNC_PW} |
${ALX_AUTH_VNC_PW} |
58 |
${ALX_AUTH_VNC_PW} |
${ALX_AUTH_VNC_PW} |
59 |
EOF |
EOF |