Unix administration - restricted commands

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > February 2005 > restricted commands





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author restricted commands
beach9z@yahoo.com

2005-02-01, 2:48 am

I am trying to use mknod from a user other then root and I am getting a
message that says I must be superuser. How do I change this so that
users other then root can execute this command ?

Thanks

Michael Vilain

2005-02-01, 2:48 am

In article <1107229742.205529.99810@f14g2000cwb.googlegroups.com>,
"beach9z@yahoo.com" <beach9z@yahoo.com> wrote:

> I am trying to use mknod from a user other then root and I am getting a
> message that says I must be superuser. How do I change this so that
> users other then root can execute this command ?
>
> Thanks


set the SUID permission bit. Then remove your appendix with a rusty
razor blade and smash your thumb with a hammer. There. You get the
idea.

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Chris F.A. Johnson

2005-02-01, 2:48 am

On Tue, 01 Feb 2005 at 03:49 GMT, beach9z@yahoo.com wrote:
> I am trying to use mknod from a user other then root and I am getting a
> message that says I must be superuser. How do I change this so that
> users other then root can execute this command ?


Use sudo. You can set which users are allowed to use the
command. Read the sudo man pa

--
Chris F.A. Johnson http://cfaj.freeshell.org/shell
========================================
===========================
My code (if any) in this post is copyright 2005, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com