On Thu, Jun 05, 2003 at 03:41:20PM +0800, Marc Chan wrote: > > Can I restrict my users with shell accounts to access only specific > commands? > example : user 1 can only access cp, rm, mv while > user 2 can access cp, rm, mv, pico and wget > and all other command are disabled. > Any ideas on .bashrc?? or .bash_profile? or ?
I haven't tried this myself but I think it's doable using filesystem ACLs and restricting who can run selected executables...(?) http://acl.bestbits.at/ -- .--. Michael J. Maravillo http://maravillo.org/ ( () ) Q Linux Solutions, Inc. office://+63.2.750.1800/ `--\\ Consultancy/Training/Support/Development http://www.q-linux.com/ -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
