tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* How-To Prevent command execution in vi - SUDO
@ 2004-03-16 13:06 David.Knight
  0 siblings, 0 replies; only message in thread
From: David.Knight @ 2004-03-16 13:06 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-16 13:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-16 13:06 How-To Prevent command execution in vi - SUDO David.Knight

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