On Sun, Apr 23, 2006 at 05:02:18PM +0200, Carlos E. R. wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> The Sunday 2006-04-23 at 16:00 +0200, houghi wrote:
> 
> > As sudo has been part of it since the beginning, I will look into it, but
> > with a not very high priority.
> > 
> > > My guess:   mount -o loop isofile mountpoint   (and matching umount)
> > 
> > That was the reason i needed to use sudo. It is notb possible to do the
> > above as a simple user. If somebody has an idea how to do a mount -o loop
> > as a simple user withouth the nowledge of the root password (So no editing
> > of sudoers) I would be happy to include it.
> 
> Edit fstab, or add the command to the sudoers list. Sudo is ok, but having 
> "Defaults targetpw" is a security risk, I think.

Editing fstab also requers the knowledge of the root password (I hope for
you).

> > The reason I ask it in the beginning is to rather have the script abort
> > right from the start then to fail it halfway fro whatever reason.
> 
> Yes, but it says my passowrd is wrong when it isn't. The real problem is 
> the assumed sudo configuration, I think. It may work with the default 
> nowdays, but not with older or simply diferent configs.

It indeed assumes default. I will see what I can do to solve it. As I see
it now, only the message will chane to include 'or run as root'

houghi
-- 
Nutze die Zeit. Sie ist das Kostbarste, was wir haben, denn es 
ist unwiederbringliche Lebenszeit. Leben ist aber mehr als Werk
und Arbeit,  und das Sein wichtiger als das Tun                                 
                                        - Johannes Müller-Elmau

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to