Subversion Repositories ALCASAR

Rev

Rev 1794 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1794 Rev 1798
Line 1... Line 1...
1
#/bin/bash
1
#/bin/bash
2
# $Id: alcasar-profil.sh 1794 2016-02-24 08:43:29Z franck $
2
# $Id: alcasar-profil.sh 1798 2016-02-28 11:19:47Z richard $
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`
-
 
17
HOSTNAME="ALCASAR Control Center (ACC)"
-
 
18
Lang=`echo $LANG|cut -c 1-2`
16
Lang=`echo $LANG|cut -c 1-2`
19
 
17
 
20
# liste les comptes de chaque profile
18
# liste les comptes de chaque profile
21
function list () {
19
function list () {
22
	for i in $ALL_PROFILS
20
	for i in $ALL_PROFILS