[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: su -l <user> -c "command" fails to honor user's path
From: |
Quanah Gibson-Mount |
Subject: |
Re: su -l <user> -c "command" fails to honor user's path |
Date: |
Wed, 16 Apr 2008 20:43:40 -0700 |
--On Wednesday, April 16, 2008 10:36 PM -0500 Brock Noland
<address@hidden> wrote:
Respectfully,
Got it, thanks. The problem I'm having then, I see, is not related to the
coreutils su, but specifically to the BSD su shipped with Darwin. Sorry
for the noise.
Linux:
address@hidden quanah]# su - zimbra -c "zmlicense -h"
usage: zmlicense [options]
-c,--check check if a valid license is installed
-h,--help show usage summary
-i,--install <arg> install specified license file
-l,--ldap install on ldap only
-p,--print show items in installed license
BSD:
sh-3.2# su - zimbra -c "zmlicense -h"
-bash: zmlicense: command not found
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration