Re: User Privilege in RH 7.3
From: John-Paul Stewart (jpstewart_at_sympatico.ca)
Date: 09/16/03
- Next message: David L. Johnson: "Re: Windows vs Linux Security"
- Previous message: n1pop_at_hotmail.com: "Re: Windows vs Linux Security"
- In reply to: Ed Murphy: "Re: User Privilege in RH 7.3"
- Next in thread: Robert Heller: "Re: User Privilege in RH 7.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 16 Sep 2003 15:35:45 -0400
Ed Murphy wrote:
>
> On Tue, 16 Sep 2003 09:14:13 -0700, Sam wrote:
>
> > Yes i can creat new user, but they all have low privileges, they can
> > read, write, and execute stuff of they own. But i like each user would be
> > able to mount a new device (such as CD, or Disck, or a Windows partitioned
> > hd), without changing to root.
> > Is it posible to creat a user with this privileg ??
> > I did tried user manager, but dident succeed.
>
> Don't do it that way. For each root-task that you want anyone to be able
> to do, create a script (say /usr/local/bin/whatever) that does it. Then,
> as root:
>
> chown root:root /usr/local/bin/whatever
> chmod 755 /usr/local/bin/whatever
> chmod +s /usr/local/bin/whatever
>
> (Is this correct?)
No, that's not correct. The setuid bit (chmod +s) will be ignored on
shell scripts for security reasons. The 'sudo' package is a better
idea. I suggest the OP look into that instead.
- Next message: David L. Johnson: "Re: Windows vs Linux Security"
- Previous message: n1pop_at_hotmail.com: "Re: Windows vs Linux Security"
- In reply to: Ed Murphy: "Re: User Privilege in RH 7.3"
- Next in thread: Robert Heller: "Re: User Privilege in RH 7.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|