Re: running a program as root

2001-02-22 Thread Bret Hughes
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

Re: running a program as root

2001-02-22 Thread Mikkel L. Ellertson
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

Re: running a program as root

2001-02-22 Thread rpjday
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

Re: running a program as root

2001-02-22 Thread Edward Dekkers
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 ___

Re: running a program as root

2001-02-22 Thread Michael Burger
; >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

Re: running a program as root

2001-02-22 Thread Shaun Donovan
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

Re: running a program as root

2001-02-22 Thread Robert Reyes
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. >

Re: running a program as root

2001-02-22 Thread Bret Hughes
"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

Re: running a program as root

2001-02-22 Thread Mikkel L. Ellertson
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

Re: running a program as root

2001-02-22 Thread Statux
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

RE: running a program

1998-05-04 Thread Smith, Nathan A., Capt.
0 PM > To: [EMAIL PROTECTED] > Subject: Re: running a program > > -BEGIN PGP SIGNED MESSAGE- > > At 14:47 5/3/98 -0400, Gary Neff wrote: > >I am such a newbie and I am sorry for being stupid I know dos but am lost > in > >linux. I have decompressed a f

Re: running a program

1998-05-04 Thread Anthony E. Greene
-BEGIN PGP SIGNED MESSAGE- At 14:47 5/3/98 -0400, Gary Neff wrote: >I am such a newbie and I am sorry for being stupid I know dos but am lost in >linux. I have decompressed a file that was given to me in a directory >/usr/temp I used tar and several directories were formed. I then found a

Re: running a program

1998-05-03 Thread Brian
Try going into that directory and type ./Install The ./ tells it to run the program Install that's in the current working directory. It has to do with setting up your path. DOS has the current working directory in your path, Linux doesn't (it's a security measure). It could also be that the fi