Subversion Repositories ALCASAR

Rev

Rev 1769 | Rev 1794 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1769 Rev 1790
Line 1... Line 1...
1
#/bin/bash
1
#/bin/bash
2
# $Id: alcasar-profil.sh 1769 2016-01-17 20:39:23Z richard $
2
# $Id: alcasar-profil.sh 1790 2016-02-07 16:10:13Z franck $
3
 
3
 
4
# alcasar-profil.sh
4
# alcasar-profil.sh
5
# by Richard REY
5
# by Richard REY
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 11... Line 11...
11
ADM_PROFIL="admin"
11
ADM_PROFIL="admin"
12
PROFILS="backup manager"
12
PROFILS="backup manager"
13
ALL_PROFILS=`echo $ADM_PROFIL $PROFILS`
13
ALL_PROFILS=`echo $ADM_PROFIL $PROFILS`
14
DIR_KEY="/usr/local/etc/digest"
14
DIR_KEY="/usr/local/etc/digest"
15
SED="/bin/sed -i"
15
SED="/bin/sed -i"
16
HOSTNAME=`uname -n`
16
#HOSTNAME=`uname -n`
-
 
17
HOSTNAME="ALCASAR Control Center (ACC)"
17
Lang=`echo $LANG|cut -c 1-2`
18
Lang=`echo $LANG|cut -c 1-2`
18
 
19
 
19
# liste les comptes de chaque profile
20
# liste les comptes de chaque profile
20
function list () {
21
function list () {
21
	for i in $ALL_PROFILS
22
	for i in $ALL_PROFILS