Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2008 10:00:39 -0500
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to disable that an user execute any command
Message-ID:  <200807081000.42849.kirk@strauser.com>
In-Reply-To: <50744.217.114.136.134.1215506711.squirrel@mail.dsa.es>
References:  <50744.217.114.136.134.1215506711.squirrel@mail.dsa.es>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart15803078.t6hN5l77bk
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 08 July 2008, DSA - JCR wrote:

> but I think that if he/she want to make CTRL-C to the shell task, he can
> stop the task and then enter in the system and look whatever he wants
> (for example, how the things are done).

Use "sudo" to allow non-root users to run that script as root.  If they hit=
=20
^C, they get dropped right back to their own account.

> I want this because there is intelectual propierty behind this.

Don't put trade secrets in shell scripts.
=2D-=20
Kirk Strauser

--nextPart15803078.t6hN5l77bk
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----

iD8DBQBIc4Ea5sRg+Y0CpvERAmmJAJ9g7H+whKq8YzA7RKjZ0cUol0NrNgCdHMBk
NRfS8Tt0EMHfXvYkNoFLGMc=
=mZWy
-----END PGP SIGNATURE-----

--nextPart15803078.t6hN5l77bk--



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