Magellan Linux

Diff of /alx-src/trunk/alxconfig-ng/functions/config_auth.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 335 by niro, Wed Sep 7 19:14:24 2005 UTC revision 336 by niro, Thu Sep 22 22:11:43 2005 UTC
# Line 1  Line 1 
1  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_auth.sh,v 1.5 2005-09-07 19:14:24 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/functions/config_auth.sh,v 1.6 2005-09-22 22:11:43 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()
# Line 30  config_auth() Line 30  config_auth()
30   get_auth_settings   get_auth_settings
31    
32   [ -n "${ALX_AUTH_SHELL_PW}" ] && \   [ -n "${ALX_AUTH_SHELL_PW}" ] && \
33   usermod -p $(perl -e "printf(crypt('${ALX_AUTH_SHELL_PW}','AD'))") root   usermod -p $(openssl passwd -1 ${ALX_AUTH_SHELL_PW}) root
34     #usermod -p $(perl -e "printf(crypt('${ALX_AUTH_SHELL_PW}','AD'))") root
35    
36   [ -n "${ALX_AUTH_STATION_PW}" ] && \   [ -n "${ALX_AUTH_STATION_PW}" ] && \
37   usermod -p $(perl -e "printf(crypt('${ALX_AUTH_SHELL_PW}','AD'))") ${ALX_UNPRIV_USER}   usermod -p $(openssl passwd -1 ${ALX_AUTH_SHELL_PW}) ${ALX_UNPRIV_USER}
38     #usermod -p $(perl -e "printf(crypt('${ALX_AUTH_SHELL_PW}','AD'))") ${ALX_UNPRIV_USER}
39    
40   if [ -n "${ALX_AUTH_SAMBA_PW}" ]   if [ -n "${ALX_AUTH_SAMBA_PW}" ]
41   then   then

Legend:
Removed from v.335  
changed lines
  Added in v.336