added alias

This commit is contained in:
fred-o 2012-07-12 14:17:59 +02:00 committed by Phil Eichinger
parent 4dcdd13009
commit f644d2eb6f
2 changed files with 3 additions and 1 deletions

View file

@ -1 +0,0 @@

View file

@ -0,0 +1,3 @@
# if there is a user named 'glassfish' on the system, we'll assume
# that is the user asadmin should be run as
grep -e '^glassfish' /etc/passwd > /dev/null && alias asadmin='sudo -u glassfish asadmin'