Bug#307293: gradm2: requires /sbin in user's PATH

2005-05-02 Thread Jan Krueger
Package: gradm2
Version: 2.1.5-2
Severity: normal
Tags: patch

gradm2's wrapper script, /sbin/gradm2, will only work if the user invoking
it has /sbin in their PATH. For cp convenience, here's a patch:

sed -i 's/gradm/\/sbin\/gradm/' gradm2

Best regards,
Jan 'jast' Krueger


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307293: gradm2: requires /sbin in user's PATH

2005-05-02 Thread Jan Krueger
  Ups, you misunderstood me. I'm asking how someone can start gradm2 (the
 wrapper) without /sbin in PATH? You have to have /sbin in PATH to start

Well, some people start these things using an absolute path instead of
adding /sbin to their PATH. Don't ask me why they'd do that but I've seen it
several times. Also, if I recall correctly, Debian doesn't include /sbin in
PATH by default (except for root).

Anyway, thanks!
Jan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307293: gradm2: requires /sbin in user's PATH

2005-05-02 Thread Laszlo Boszormenyi
Hi Jan,

On Mon, 2005-05-02 at 20:00 +0200, Jan Krueger wrote:
 You're, of course, right. Nothing prevents people from running gradm2_2x
 without having /sbin in PATH but the wrapper script won't work, and this
 will confuse less experienced users (and annoy those who manage to identify
 the problem).
 Ups, you misunderstood me. I'm asking how someone can start gradm2 (the
wrapper) without /sbin in PATH? You have to have /sbin in PATH to start
gradm2 even, so the wrapper would not fail. Anyway, I will change the
wrapper anyway.

Thanks,
Laszlo/GCS



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#307293: gradm2: requires /sbin in user's PATH

2005-05-02 Thread Jan Krueger
  Well, if /sbin is not in the user's PATH, then s/he can't start the
 wrapper even, only with full path. Can you please give me some
 information when such thing happens that user can start the
 wrapper, but s/he has not /sbin in PATH?

You're, of course, right. Nothing prevents people from running gradm2_2x
without having /sbin in PATH but the wrapper script won't work, and this
will confuse less experienced users (and annoy those who manage to identify
the problem).

Jan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]