tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: David.Knight@clubcorp.com
Subject: How-To Prevent command execution in vi - SUDO
Date: Tue, 16 Mar 2004 07:06:08 -0600	[thread overview]
Message-ID: <OFDB6E467F.93F1A552-ON86256E59.00470D33-86256E59.0048390E@clubcorp.com> (raw)

ALl,
        I am currently in to process of implementing SUDO on my Tru64 
Servers. However, I have one question:
1) I need to be able to lock down accounts to the point of only allowing 
them access to a very very limited command set I.E Just "ls" "pwd" "cd" 
and "vi"  however I have found that SUDO is mainly to allow users access 
to commands ran by other users. so I figured that I could write a script 
to force them to use sudo or a limited command set however I find that if 
you allow some one access to the "vi" command they can execute any command 
the wish by doing a :! and the command. I have been unable to find any 
options to SUDO either on compile time or execution nor with vi that will 
prevent this from happening. any help would be grateful.

Thanks in advance,
David Knight


                 reply	other threads:[~2004-03-16 13:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox