gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Ubuntu-specific issues


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Ubuntu-specific issues
Date: Mon, 26 Oct 2009 14:36:13 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Sun, Oct 25, 2009 at 10:38:18AM +0200, Jerzy Luszawski wrote:

> > What is this 
> > cleanup, if it should be manually done, and is it worth modifying the
> > script to exclude the =su -c= line if Mac OS and Ubuntu can be detected?
> My problem arised when I tried to execute the scripts as a *regular* user, 
> waiting for a prompt for 'gm-dbo'. I simply forgot to execute the script as 
> root. So the first prompt for password was from 'su', then the command 
> failed, because I have no permission to 'su" (strange order of checks ;)).
> 
> It seems that these "su -c" are generally superfluous, as we do require these 
> scripts to be run as root (as stated in Wiki and in comment lines).

The particular line you pointed out is used to run something
as user "postgres", not root.

I'm happy to remove any superfluous user switches, though.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]