[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
suid
I've tried to creat a suid-root script
i'm using tcsh
it is like this :
#! /bin/tcsh -fb
...
..
..
..
exit 0
i did chmod 755 filename
the chmod +s filename
so ls gives -rwsr-sr-s 1 root root 8101 feb 11 18:01 filename*
now the script runs for user root, but not for any other
( it runs for any user but the privileged actions are not allowed )
so how do i make my script suid root ?
regards
Erez.
begin: vcard
fn: Erez Doron
n: Doron;Erez
org: Savan Communications Ltd.
email;internet: erez@savan.com
title: Asic/Software/Sysadmin
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
version: 2.1
end: vcard
- Follow-Ups:
- Re: suid
- From: "Stanislav Malyshev a.k.a. Frodo" <frodo@sharat.co.il>