The 4 sets the setuid bit it tells the system to run the program as the file
owner (:root) instead of as the user who invoked it (mike).

By the way you must be root to set that permission.

Warning 0 this bit is one of the major sources for security problems in
linux .. allowing a program run as a normal user to run as root. Use it with
extreme caution.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 1:00 PM
Subject: RE: problem with permissions


> What is the 4 for????
>
> -----Original Message-----
> From: Hal Kellerman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 22, 2002 4:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: problem with permissions
>
>
> try setting the permissions to 4777 not just 777
>
> Hal
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Monday, April 22, 2002 12:46 PM
> Subject: problem with permissions
>
>
> > How can I assign permission to a user "mike" to be able to shutdown the
> > computer.
> >
> > I have tried to create a group and assign the group to the shutdown
> command
> > using chown, tried changing the permissions to 777 or rwxrwxrwx using
> chmod
> > shutdown, this doesn't work tells me I still need to be root. I have
> edited
> > the sudoers file to allow "mike" ALL = NOPASSWD: ALL this doesn't help.
> >
> > can someone tell me how to make user "mike" use the shutdown command
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to