Date: Wed, 31 Jul 2002 18:17:12 -0300 (ART) From: Fernando Gleiser <fgleiser@cactus.fi.uba.ar> To: Phil Gates <p_gates@fuse.net> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: write a script to get root permission Message-ID: <20020731181516.C6656-100000@localhost> In-Reply-To: <020e01c238d6$41ce6f80$5d7e880a@zoomtown.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 31 Jul 2002, Phil Gates wrote: > Thanks everybody on ftp only login all your suggestions worked. I have another problem and I know . The person that I am working for want me to write a script in ksh to do some root commands and thenexit. Is there a way to get root permission in a script. You cant make a suid script. The kernel ignores the suid bit in scripts because it is a huge security hole. If you need to grant partial root privilleges to a user, use sudo. Fer > > Thanks > > Phil > 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?20020731181516.C6656-100000>