Edward Dekkers wrote:
>
> Now I'm lost - he didn't mean sudo then?
>
> Sorry, I remember a hell of a lot of discussion about sudo when I first
> started.
>
If you are talking about the start of this thread I don't think so. I
belive he was asking about setting the suid bit on the permissions
On Thu, 22 Feb 2001, Shaun Donovan wrote:
> I have tried this and tested it by writing a script that just runs a
> "whoami", but when I run it, it does not run as the other user. I have
> tried setting the setuid bit as well as the setgid, but to no avail.
> What do you mean when you say that onl
On Wed, 21 Feb 2001, Michael Burger wrote:
> I believe the program also needs to be "chmod o+s" to run
> setuid...but I could be wrong.
alas, you are.
setuid: chmod u+s files ...
setgid: chmod g+s files ...
sticky bit: chmod +t directories ...
rday
--
Robert P. J. Day
Eno River Tech
Now I'm lost - he didn't mean sudo then?
Sorry, I remember a hell of a lot of discussion about sudo when I first
started.
--
Edward Dekkers (Director)
Triple D Computer Services Pty. Ltd.
822 Rowley Road
Oakford W.A. 6121
+61 8 9397-1040
ABN: 33 635 238 024
___
;
>Sent: Thursday, February 22, 2001 10:23 AM
>Subject: Re: running a program as root
>
>
>> you're talking about setuid root, which you must be VERY careful with.
>> Only certain programs are tollerant of this.
>>
>> chown root file
>>
>> or
&g
nt of
this?
- Original Message -
From: Statux <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2001 4:23 AM
Subject: Re: running a program as root
> you're talking about setuid root, which you must be VERY careful with.
> Only certa
thanks man!
From: "Statux" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2001 10:23 AM
Subject: Re: running a program as root
> you're talking about setuid root, which you must be VERY careful with.
>
"Mikkel L. Ellertson" wrote:
>
> On Thu, 22 Feb 2001, Robert Reyes wrote:
>
> > hey guys!
> > i know i have done this but seem to forgot how to do it again. how can i
> > change a property of a program so that when it is used by other users, it
> > will run as root. for example smbmount, when us
hey guys!
i know i have done this but seem to forgot how to do it again. how can i
change a property of a program so that when it is used by other users, it
will run as root. for example smbmount, when users other than root runs it,
it says not permitted, how do i remove this permission thing?
tha
On Thu, 22 Feb 2001, Robert Reyes wrote:
> hey guys!
> i know i have done this but seem to forgot how to do it again. how can i
> change a property of a program so that when it is used by other users, it
> will run as root. for example smbmount, when users other than root runs it,
> it says not p
you're talking about setuid root, which you must be VERY careful with.
Only certain programs are tollerant of this.
chown root file
or
chown root:root file <--to set the group too, etc, you should know this
part
then:
chmod 4755 file
or something to that effect.
remember how to calculate pe
11 matches
Mail list logo