Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 01:51:25 +0000
From:      "Lee Harr" <missive@hotmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: suid shell script
Message-ID:  <BAY2-F72YsTLSzrmzZD00028e7e@hotmail.com>

next in thread | raw e-mail | index | archive | help
>There are a couple of scripts I use for my own convenience
>that I ran setuid root


I have one of those: my dialer script.

What I did is create a short C wrapper:

#include <stdlib.h>

int main() {
system("/root/bin/dial");
return 0;
}


Then I made that suid root.


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY2-F72YsTLSzrmzZD00028e7e>