From: W.L.Alsemgeest (W.L.Alsemgeest@tpgpost.nl)
Date: Fri Feb 21 2003 - 02:40:57 EST
Dear admins,
I have two questions about suid.
1)
I want to clean up as much as posible suid bits. binary's as lvcreate and
lvdisplay as well as much much much more binary's of the HP-UX OS do have
the suid bit on.
Can someone tell me from what binary's the suid can be removed save?
2)
To test suid is created a short script that echo's something into a file in
my directory. The script is called sle.sh
================================
while true
do
sleep 5
echo sleeping >>/home/fkara/fatih
done
================================
The script is owned by fkara and has the suid bit on.
If I walsemge run's the script this is the output:
================================
./sle.sh[4]: /home/fkara/fatih: cannot create
./sle.sh[4]: /home/fkara/fatih: cannot create
================================
32 drwxrwxrwx 16 fkara users 8192 Feb 21 08:14 ./
-rwsr-xr-x 1 fkara users 65 Feb 21 08:14 sle.sh*
-rw------- 1 fkara users 0 Feb 21 08:14 fatih
Why dous this error appear?
Greetings,
Wim Alsemgeest
a
Wim Alsemgeest
Unix Specialist iPlanet
Phone +31 70 45 22 961
Fax +31 70 45 22 810
E-mail w.l.alsemgeest@tpgpost.nl
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:26 EDT