[Ilugc] Restrict users commands

  • From: sbharathi@xxxxxxxxxxxxx (Bharathi Subramanian)
  • Date: Wed Sep 9 16:30:13 2009

On 3:15pm, Govi wrote:

I want to restrict users normal command.i mean specified users must
use only below command,

1. Create dirs:  dir1, dir2, dir3
2. Move one set of cmds to dir1 and another set to dir2, ..
3. Create Groups: grp1, grp2, grp3
4. chown -R root:grpX  dirX
5. chmod -R 750 dirX

Now the users belong to grp1 only can run the commands from dir1 
and grp2 from dir2, .. I hope, this will give some idea.

Bye :)
-- 
Bharathi S

Other related posts: