Index: debian/prerm
===================================================================
--- debian/prerm	(revision 904)
+++ debian/prerm	(working copy)
@@ -16,9 +16,9 @@
     rmdir -p /var/alternc/bureau 2> /dev/null || true
     rm -f /var/alternc/dns/bureau
     rm -f /var/alternc/dns/$FQDN_LETTER/$FQDN
-    rmdir -p /var/alternc/html/r/root 2> /dev/null || true
+    rmdir -p /var/alternc/html/a/admin 2> /dev/null || true
     rm -f /var/alternc/apacheconf/override_php.conf
-    rmdir -p /var/alternc/htm/r/root 2> /dev/null || true
+    rmdir -p /var/alternc/htm/a/admin 2> /dev/null || true
     ;;
 
 upgrade)
Index: src/mem_del.c
===================================================================
--- src/mem_del.c	(revision 904)
+++ src/mem_del.c	(working copy)
@@ -45,7 +45,7 @@
 
 	setuid(geteuid());
 		/*************************/
-		/* WARNING : ROOT ZONE ! */
+		/* WARNING : ADMIN ZONE ! */
 		/*************************/
 	system(s);
 	exit(0);
Index: src/mail_del.c
===================================================================
--- src/mail_del.c	(revision 904)
+++ src/mail_del.c	(working copy)
@@ -46,7 +46,7 @@
 
 	setuid(geteuid());
 		/*************************/
-		/* WARNING : ROOT ZONE ! */
+		/* WARNING : ADMIN ZONE ! */
 		/*************************/
 	system(s);
 	exit(0);
Index: src/db_create.c
===================================================================
--- src/db_create.c	(revision 904)
+++ src/db_create.c	(working copy)
@@ -50,7 +50,7 @@
 
 	setuid(geteuid());
 		/*************************/
-		/* WARNING : ROOT ZONE ! */
+		/* WARNING : ADMIN ZONE ! */
 		/*************************/
 	chown(argv[2],-1,uid);
 	chmod(argv[2],02770);
Index: src/mem_add.c
===================================================================
--- src/mem_add.c	(revision 904)
+++ src/mem_add.c	(working copy)
@@ -48,7 +48,7 @@
 
 	setuid(geteuid());
 		/*************************/
-		/* WARNING : ROOT ZONE ! */
+		/* WARNING : ADMIN ZONE ! */
 		/*************************/
 	sprintf(s,"/var/alternc/html/%c/%s",mail[0],mail);
 	mkdir(s);
Index: src/mail_add.c
===================================================================
--- src/mail_add.c	(revision 904)
+++ src/mail_add.c	(working copy)
@@ -51,7 +51,7 @@
 
 	setuid(geteuid());
 		/*************************/
-		/* WARNING : ROOT ZONE ! */
+		/* WARNING : ADMIN ZONE ! */
 		/*************************/
 	sprintf(s,"/var/alternc/mail/%c/%s",mail[0],mail);
 	mkdir(s);
Index: tools/get_domains_by_account
===================================================================
--- tools/get_domains_by_account	(revision 904)
+++ tools/get_domains_by_account	(working copy)
@@ -56,7 +56,7 @@
 HELP=$($gettext "Gives domains and sub-domains attached to an account.")
 USAGE=`$printf "$($gettext "Usage: %s account.")" $PROG_NAME`
 NOT_FOUND_MSG=$($gettext "does not exist.")
-NON_ROOT_MSG=$($gettext "You have to be root (uid 0) to execute this program.")
+NON_ADMIN_MSG=$($gettext "You have to be admin (uid 0) to execute this program.")
 MISSING_PROG=$($gettext "Unable to execute")
 MISSING_CONF_FILE=`$printf "$($gettext "Can't find %s. Are you sure AlterncC is properly installed?")" $ALTERNC_CONF_FILE`
 MYSQL_UNREACHABLE_DATABASE=`$printf "$($gettext "Cannot access accounts database. Please check either %s or Mysql state.")" $ALTERNC_CONF_FILE`
@@ -65,8 +65,8 @@
 #-------------------------
 # Main
 #-------------------------
-# Must be root
-[ "`$id -u`" != "0" ] && { echo $NON_ROOT_MSG ; exit 1 ; }
+# Must be admin
+[ "`$id -u`" != "0" ] && { echo $NON_ADMIN_MSG ; exit 1 ; }
 # Must have minimum 1 parameter
 [ -z "$1" ] && { echo $USAGE ; exit 1 ; }
 # Handle -h and --help flags
Index: tools/top_http_users
===================================================================
--- tools/top_http_users	(revision 904)
+++ tools/top_http_users	(working copy)
@@ -88,7 +88,7 @@
 	NON_COMPATIBLE_MSG=$($gettext "The -n and -z options are not compatible.")
 	NON_NUM_MSG_FOR_N=$($gettext "The -n option requieres a number as argument.")
 	LOCKFILE_CREATION_FAILED=`$printf "$($gettext "%s is allready beeing executed.")" $PROG_NAME`
-	NON_ROOT_MSG=$($gettext "You have to be root (uid 0) to execute this program.")
+	NON_ADMIN_MSG=$($gettext "You have to be admin (uid 0) to execute this program.")
 	MISSING_PROG=$($gettext "Unable to execute")
 	HIT_RES_MSG=`$printf "$($gettext "Top %s domains served by apache, sorted by number of lines in log (using gzipped logs: %s):")" $NB_USERS $($gettext "$USE_GZ_LOGS")`
 	SIZE_RES_MSG=`$printf "$($gettext "Top %s domains served by apache, sorted by size (using gzipped logs: %s):")" $NB_USERS $($gettext "$USE_GZ_LOGS")`
@@ -123,8 +123,8 @@
 # Main
 #-------------------------
 set_messages
-# Must be root
-[ "`$id -u`" -ne 0 ] && { echo $NON_ROOT_MSG ; exit 1 ; }
+# Must be admin
+[ "`$id -u`" -ne 0 ] && { echo $NON_ADMIN_MSG ; exit 1 ; }
 
 # Parse args
 IS_N_PARAM=false
Index: tools/top_mysql_users
===================================================================
--- tools/top_mysql_users	(revision 904)
+++ tools/top_mysql_users	(working copy)
@@ -86,7 +86,7 @@
 	NON_COMPATIBLE_MSG=$($gettext "The -n and -z options are not compatible.")
 	NON_NUM_MSG_FOR_N=$($gettext "The -n option requieres a number as argument.")
 	LOCKFILE_CREATION_FAILED=`$printf "$($gettext "%s is allready beeing executed.")" $PROG_NAME`
-	NON_ROOT_MSG=$($gettext "You have to be root (uid 0) to execute this program.")
+	NON_ADMIN_MSG=$($gettext "You have to be admin (uid 0) to execute this program.")
 	HIT_RES_MSG=`$printf "$($gettext "Top %s mysql users, sorted by connexion number (using gzipped logs: %s):")" $NB_USERS $($gettext "$USE_GZ_LOGS")`
 	MISSING_CONF_FILE=`$printf "$($gettext "Can't find %s. Are you sure AlterncC is properly installed?")" $ALTERNC_CONF_FILE`
 	UNKNOWN_OPTION=$($gettext "Unknown %s option.")
@@ -109,8 +109,8 @@
 # Main
 #-------------------------
 set_messages
-# Must be root
-[ "`$id -u`" != "0" ] && { echo $NON_ROOT_MSG ; exit 1 ; }
+# Must be admin
+[ "`$id -u`" != "0" ] && { echo $NON_ADMIN_MSG ; exit 1 ; }
 
 # Parse args
 IS_N_PARAM=false
Index: tools/get_account_by_domain
===================================================================
--- tools/get_account_by_domain	(revision 904)
+++ tools/get_account_by_domain	(working copy)
@@ -58,7 +58,7 @@
 HELP=$($gettext "Gives account hosting domain or sub-domain.")
 USAGE=`$printf "$($gettext "Usage: %s [domain|sub-domain].")" $PROG_NAME`
 NOT_FOUND_MSG=$($gettext "does not exist.")
-NON_ROOT_MSG=$($gettext "You have to be root (uid 0) to execute this program.")
+NON_ADMIN_MSG=$($gettext "You have to be admin (uid 0) to execute this program.")
 MISSING_PROG=$($gettext "Unable to execute")
 MISSING_CONF_FILE=`$printf "$($gettext "Can't find %s. Are you sure AlterncC is properly installed?")" $ALTERNC_CONF_FILE`
 MYSQL_UNREACHABLE_DATABASE=`$printf "$($gettext "Cannot access accounts database. Please check either %s or Mysql state.")" $ALTERNC_CONF_FILE`
@@ -67,8 +67,8 @@
 #-------------------------
 # Main
 #-------------------------
-# Must be root
-[ "`$id -u`" != "0" ] && { echo $NON_ROOT_MSG ; exit 1 ; }
+# Must be admin
+[ "`$id -u`" != "0" ] && { echo $NON_ADMIN_MSG ; exit 1 ; }
 # Must have minimum 1 parameter
 [ -z "$1" ] && { echo $USAGE ; exit 1 ; }
 # Handle -h and --help flags
Index: tools/top_ftp_users
===================================================================
--- tools/top_ftp_users	(revision 904)
+++ tools/top_ftp_users	(working copy)
@@ -87,7 +87,7 @@
 	NON_COMPATIBLE_MSG=$($gettext "The -n and -z options are not compatible.")
 	NON_NUM_MSG_FOR_N=$($gettext "The -n option requieres a number as argument.")
 	LOCKFILE_CREATION_FAILED=`$printf "$($gettext "%s is allready beeing executed.")" $PROG_NAME`
-	NON_ROOT_MSG=$($gettext "You have to be root (uid 0) to execute this program.")
+	NON_ADMIN_MSG=$($gettext "You have to be admin (uid 0) to execute this program.")
 	HIT_RES_MSG=`$printf "$($gettext "Top %s ftp users, sorted by connection number (using gzipped logs: %s):")" $NB_USERS $($gettext "$USE_GZ_LOGS")`
 	SIZE_RES_MSG=`$printf "$($gettext "Top %s ftp users, sorted by size (using gzipped logs: %s):")" $NB_USERS $($gettext "$USE_GZ_LOGS")`
 	MISSING_CONF_FILE=`$printf "$($gettext "Can't find %s. Are you sure AlterncC is properly installed?")" $ALTERNC_CONF_FILE`
@@ -112,8 +112,8 @@
 # Main
 #-------------------------
 set_messages
-# Must be root
-[ "`$id -u`" != "0" ] && { echo $NON_ROOT_MSG ; exit 1 ; }
+# Must be admin
+[ "`$id -u`" != "0" ] && { echo $NON_ADMIN_MSG ; exit 1 ; }
 
 # Parse args
 IS_N_PARAM=false
Index: TODO
===================================================================
--- TODO	(revision 904)
+++ TODO	(working copy)
@@ -22,8 +22,8 @@
 
 ** Utilisation d'AlternC : (sans développement)
 - Documentation utilisateur d'AlternC (pour ceux qui utilisent bêtement la bête en tant qu'utilisateur sans privilege)
-- Documentation Administrateur AlternC (pour ceux qui utilisent bêtement un compte root d'AlternC)
-- Documentation du mainteneur de serveur (pour ceux qui sont root sur le serveur)
+- Documentation Administrateur AlternC (pour ceux qui utilisent bêtement un compte admin d'AlternC)
+- Documentation du mainteneur de serveur (pour ceux qui sont admin sur le serveur)
 - Documentation de l'API (pour ceux qui veulent pouvoir personnaliser leur bureau, le piloter à distance etc.)
 
 ** Développement d'AlternC :
Index: install/newone.php
===================================================================
--- install/newone.php	(revision 904)
+++ install/newone.php	(working copy)
@@ -37,17 +37,17 @@
 $admin->enabled=1;
 
 // On crée le compte admin : 
-if (!$admin->add_mem("root","root","Administrateur", "Admin", "root@".$L_FQDN)) {
+if (!$admin->add_mem("admin","admin","Administrateur", "Admin", "postmaster@".$L_FQDN)) {
 	echo $err->errstr()."\n";
 	exit();
 }
 
-$db->query("update membres set su=1 where login='root';");
+$db->query("update membres set su=1 where login='admin';");
 
 // On lui attribue des quotas par defaut
 // 10 domains, 10 stats, 10 bases mysql, 20 ftp et 100 emails
-$db->query("update quotas,membres set quotas.total=10 where (quotas.name='stats' or quotas.name='sta2' or quotas.name='mysql' or quotas.name='dom') and quotas.uid=membres.uid and membres.login='root' ;");
-$db->query("update quotas,membres set quotas.total=20 where quotas.name='ftp' and quotas.uid=membres.uid and membres.login='root' ;");
-$db->query("update quotas,membres set quotas.total=100 where quotas.name='mail' and quotas.uid=membres.uid and membres.login='root' ;");
+$db->query("update quotas,membres set quotas.total=10 where (quotas.name='stats' or quotas.name='sta2' or quotas.name='mysql' or quotas.name='dom') and quotas.uid=membres.uid and membres.login='admin' ;");
+$db->query("update quotas,membres set quotas.total=20 where quotas.name='ftp' and quotas.uid=membres.uid and membres.login='admin' ;");
+$db->query("update quotas,membres set quotas.total=100 where quotas.name='mail' and quotas.uid=membres.uid and membres.login='admin' ;");
 
 ?>
Index: install/reset_root.php
===================================================================
--- install/reset_root.php	(revision 904)
+++ install/reset_root.php	(working copy)
@@ -36,8 +36,8 @@
 // On passe super-admin
 $admin->enabled=1;
 
-// On remet le pass root a zero
-if (!$admin->update_mem(2000,"root@".$L_FQDN,"Administrateur", "Admin", 'root', 1, 1)) {
+// On remet le pass admin a zero
+if (!$admin->update_mem(2000,"postmaster@".$L_FQDN,"Administrateur", "Admin", 'admin', 1, 1)) {
 	echo "erreur : ".$err->errstr()."<br>\n";
 	exit();
 }
Index: install/alternc.install
===================================================================
--- install/alternc.install	(revision 904)
+++ install/alternc.install	(working copy)
@@ -209,18 +209,18 @@
 # Add basedir protection
 /usr/lib/alternc/basedir_prot.sh
 
-# Creating root user if needed
-HAS_ROOT="`mysql -h"$MYSQL_HOST" -u"$MYSQL_USER" -p"$MYSQL_PASS" "$MYSQL_DATABASE" -e "SELECT COUNT(*) FROM membres WHERE login = 'root'" | tail -1`"
+# Creating admin user if needed
+HAS_ROOT="`mysql -h"$MYSQL_HOST" -u"$MYSQL_USER" -p"$MYSQL_PASS" "$MYSQL_DATABASE" -e "SELECT COUNT(*) FROM membres WHERE login = 'admin'" | tail -1`"
 if [ "$HAS_ROOT" != "1" ]; then
-    echo "Creating root user..."
+    echo "Creating admin user..."
     su - www-data -c /usr/share/alternc/install/newone.php
     echo ""
     echo "*******************************************"
     echo "*                                         *"
-    echo "*               Root account              *"
+    echo "*               Admin account             *"
     echo "*               ------------              *"
     echo "*                                         *"
-    echo "* user: root               password: root *"
+    echo "* user: admin             password: admin *"
     echo "*                                         *"
     echo "* Please change this as soon as possible! *"
     echo "*                                         *"
Index: man/top_ftp_users.8
===================================================================
--- man/top_ftp_users.8	(revision 904)
+++ man/top_ftp_users.8	(working copy)
@@ -18,7 +18,7 @@
 .PP
 As parsing large log files can be time and cpu consuming, use the -n option, with low values, to have results more quickly (but less accurate).
 .PP
-\fBtop_ftp_users\fP has to be run as root.
+\fBtop_ftp_users\fP has to be run as admin.
 .SH OPTIONS
 This program follow the usual GNU command line syntax, with long
 options starting with two dashes (`-').
Index: man/top_mysql_users.fr.8
===================================================================
--- man/top_mysql_users.fr.8	(revision 904)
+++ man/top_mysql_users.fr.8	(working copy)
@@ -15,7 +15,7 @@
 .PP
 Dans la mesure où le fait de parcourir des logs, si ils sont de grande taille, peut emmener à une consomation de ressources importante, il est conseillé d'utiliser l'option -n avec une valeur faible, et ce de manière à avoir des résultats plus rapidement, mais moins précis.
 .PP
-\fBtop_mysql_users\fP doit être lancé en tant que root.
+\fBtop_mysql_users\fP doit être lancé en tant que admin.
 .SH OPTIONS
 Ce programme suit la syntaxe des lignes de commande GNU, avec des options longues commencant par deux tirets (`-'). Un résumé de ces options est inclut ci-dessous.
 .TP
Index: man/top_ftp_users.fr.8
===================================================================
--- man/top_ftp_users.fr.8	(revision 904)
+++ man/top_ftp_users.fr.8	(working copy)
@@ -17,7 +17,7 @@
 .PP
 Dans la mesure où le fait de parcourir des logs, si ils sont de grande taille, peut emmener à une consomation de ressources importante, il est conseillé d'utiliser l'option -n avec une valeur faible, et ce de manière à avoir des résultats plus rapidement, mais moins précis.
 .PP
-\fBtop_ftp_users\fP doit être lancé en tant que root.
+\fBtop_ftp_users\fP doit être lancé en tant que admin.
 .SH OPTIONS
 Ce programme suit la syntaxe des lignes de commande GNU, avec des options longues commencant par deux tirets (`-'). Un résumé de ces options est inclut ci-dessous.
 .TP
Index: man/top_http_users.8
===================================================================
--- man/top_http_users.8	(revision 904)
+++ man/top_http_users.8	(working copy)
@@ -26,7 +26,7 @@
 .PP
 As parsing large log files can be time and cpu consuming, use the -n option, with low values, to have results more quickly (but less accurate).
 .PP
-\fBtop_http_users\fP has to be run as root.
+\fBtop_http_users\fP has to be run as admin.
 .SH OPTIONS
 This program follow the usual GNU command line syntax, with long
 options starting with two dashes (`-').
Index: man/top_http_users.fr.8
===================================================================
--- man/top_http_users.fr.8	(revision 904)
+++ man/top_http_users.fr.8	(working copy)
@@ -25,7 +25,7 @@
 .PP
 Dans la mesure où le fait de parcourir des logs, si ils sont de grande taille, peut emmener à une consomation de ressources importante, il est conseillé d'utiliser l'option -n avec une valeur faible, et ce de manière à avoir des résultats plus rapidement, mais moins précis.
 .PP
-\fBtop_http_users\fP doit être lancé en tant que root.
+\fBtop_http_users\fP doit être lancé en tant que admin.
 .SH OPTIONS
 Ce programme suit la syntaxe des lignes de commande GNU, avec des options longues commencant par deux tirets (`-'). Un résumé de ces options est inclut ci-dessous.
 .TP
Index: man/top_mysql_users.8
===================================================================
--- man/top_mysql_users.8	(revision 904)
+++ man/top_mysql_users.8	(working copy)
@@ -16,7 +16,7 @@
 .PP
 As parsing large log files can be time and cpu consuming, use the -n option, with low values, to have results more quickly (but less accurate).
 .PP
-\fBtop_mysql_users\fP has to be run as root.
+\fBtop_mysql_users\fP has to be run as admin.
 .SH OPTIONS
 This program follow the usual GNU command line syntax, with long
 options starting with two dashes (`-').
