nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

SUID setzen

Von: Bernd Hohmann (bernd.hohmann.20090228@freihaendler.com) [Profil]
Datum: 06.11.2009 15:49
Message-ID: <7lirijF3ec0gfU1@mid.individual.net>
Newsgroup: de.comp.os.unix.misc
Was hab ich an SUID falsch verstanden?

~$ ls -l /usr/sbin/hcp
-rwxr-xr-x 1 root root 45452 2009-10-22 08:09 /usr/sbin/hcp

~$ sudo chmod u+s /usr/sbin/hcp

~$ ls -l /usr/sbin/hcp
-rwsr-xr-x 1 root root 45452 2009-10-22 08:09 /usr/sbin/hcp

~$ hcp -l
[.. blahfasel ..]
You must root to run this program.


hcp ist ein ELF Binary (R1Soft Hot Copy, erzeugt ein Shadow-Device für

Backups, braucht Root-Rechte zur Ausführung und ich brauchs im Batch).

Bernd

--
Visit http://www.nixwill.de and http://www.spammichvoll.de
jean.oliver@nixwill.de & bernado.bernhardi@spammichvoll.de

[ Auf dieses Posting antworten ]

Antworten