Wie sezte ich set-root-uid fuer growisofs ?

frank-info at gmx.de frank-info at gmx.de
Fri May 5 21:06:39 CEST 2006


Am Freitag, 5. Mai 2006 20:43 schrieben Sie:
> chown root
> und
> chmod u+s
> bzw.
> chmod 4XXX
> ist wohl, was du suchst.

Dieses hatte ich schon versucht. Trotzdem bricht growisofs ab:

:-( growisofs is being executed under sudo, aborting!
    See NOTES paragraph in growisofs manual page for further details.

Aus man growisofs:
---------------------------
If executed under sudo(8) growisofs refuses to start. This is done for the 
following reason. Naturally growisofs has  to access the data set to be 
recorded to DVD media, .......(snip)...... . If you for any reason still find 
the above acceptable and are willing to take the consequences,  then  
consider  running following wrapper script under sudo(8) in place for real 
growisofs binary.

            #!/bin/ksh
            unset SUDO_COMMAND
            export MKISOFS=/path/to/trusted/mkisofs
            exec growisofs "$@"

But  note  that  the recommended alternative to the above "workaround" is 
actually to install growisofs set-root-uid, in which case it will drop 
privileges prior accessing data or executing mkisofs in order to preclude 
unauthorized access to the data.

Letzteres moechte ich gerne.

Frank




More information about the Linux mailing list