Michael Koch a écrit :
On Thu, Dec 27, 2007 at 03:40:30PM +0100, Vera Mickael wrote:
Package: tomcat5.5
Version: 5.5.20-2
Severity: important


The script should warn the user that has no rights for this operation.

As you may notice I use my own jdk package but I don't think this has an effect on this problem.

Which user do you mean? Its normal that scripts in /etc/init.d/ are
executed by root. /etc/init.d/ is no exception from this rule.

If thats not your problem please describe in more detail.

I understand the script has to be runned by root and I always use "sudo" command to run it. But as I launch this command about 30 times a day, sometimes I forget the "sudo".

Then the script stops and it's difficult to take control on the terminal. The script doesn't check that the user has rights to stop/start tomcat and it fails badly. If the check was done, the script wouldn't stop like this. Maybe it would display a warning message to the user.

Regards,
Mickaël



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

Reply via email to