From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,25b9212237a0d1c2 X-Google-Attributes: gidfa528,public From: Joerg Bruehe Subject: Re: Running a perl script as non-root Date: 2000/10/10 Message-ID: <39E2F353.E2B14600@sql.de>#1/1 X-Deja-AN: 679784588 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@news.sql.de X-Trace: news.sql.de 971174739 26103 194.64.230.128 (10 Oct 2000 10:45:39 GMT) Organization: SQL Datenbanksysteme GmbH Mime-Version: 1.0 NNTP-Posting-Date: 10 Oct 2000 10:45:39 GMT Newsgroups: comp.unix.tru64 Hi Mike ! Mike Ryan wrote (referring to the quote following ...): > > Why not just set the system bit ???? > > Cheers > "Arthur Dalessandro" wrote in message > news:sthgo07qh5q684@corp.supernews.com... > > I have a script that does certain commands that require them to be run as > > root, however, I need non-root users to call the script. Is there an easy > > way to accomplish this? 1) I have heard of a "system bit" only in Win environments, not on any Unix. 2) If you mean the "set-userID" bit for owner "root": AFAIK, on all Unix-like platforms this is not effective for interpreted files (shell scripts, Perl etc.) due to security reasons. Off hand, I can not provide a URL explaining the reasons, but there should be plenty in the Web. HTH, Joerg Bruehe -- Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany (speaking only for himself) mailto: joerg@sql.de