Mike Maravillo <[EMAIL PROTECTED]> wrote:
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...(?).bashrc -- file to be excuted by bash automatically, you could put some alias in here... for ex. alias ls="ls --color=auto" or PS1="[EMAIL PROTECTED] $" hmm... :)
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
-- 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
