Yup, sudo din will do fine.

[EMAIL PROTECTED]: \> sudo vi /etc/shadow

Hehe :)

--
Thanks,
Louie

-----Original Message-----
From: Reynald I. Ngo [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 05, 2003 3:56 PM
To: [EMAIL PROTECTED]
Subject: Re: [plug] Restrict command in shell


At 03:41 PM 6/5/2003 +0800, Marc Chan wrote:

sudo would be your friend.

>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 ?

---
Cheers,

Reynald I. Ngo

--
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
--
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

Reply via email to