[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Patch to suidregister



 This patch will fix up `suidregister`.  I don't think that
`suidunregister` will suffer from this problem...  will it?

*** /usr/sbin/suidregister~	Sun Apr 27 12:44:37 1997
--- /usr/sbin/suidregister	Sun May 11 00:01:43 1997
***************
*** 3,8 ****
--- 3,15 ----
  # Register a binary
  #
  
+ if echo $- | grep -q e; then
+   e=-e
+   set +e
+ else
+   e=+e
+ fi
+ 
  function setperm()
  {
  	if [ -e $2 ]; then
***************
*** 80,82 ****
--- 87,91 ----
  
  echo "$PACKAGE $1 $2 $3 $4" >>/etc/suid.conf
  setperm $PACKAGE $1 $2 $3 $4
+ 
+ set $e

-- 
Karl M. Hegbloom <karlheg@inetarena.com>
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.2  Linux 2.1.36 AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: