Re: How to ban someone from running a program

2002-11-02 Thread Hella
In my experience these process accounting and quota systems are extremely cludgy and create a very large overhead for the administrators and are generally not worth the effort. I would suggest a wrapper script or even a simple company policy detailing what hours certain programs can be run, or

Re: How to ban someone from running a program

2002-10-31 Thread Todd A. Jacobs
On Thu, 31 Oct 2002, Todd A. Jacobs wrote: > abusername hardnproc 2 This limit may need to be higher. Some quick poking around on my system shows that a process limit lower than about 10-15 *above* the desired amount will prevent things from running properly. I can't se

Re: How to ban someone from running a program

2002-10-31 Thread Todd A. Jacobs
On Thu, 31 Oct 2002, Reuben D. Budiardja wrote: > I am managing a machine that was used by several people. One of the > users often time run a program (written in fortran) that takes huge CPU > and Memory that make the machine very un-responsive. So, the basic The following additions to /etc/secu

Re: How to ban someone from running a program

2002-10-31 Thread Andrew MacKenzie
> Yes, it's a program that was wrriten and compiled by the user. I put a > priority for this user in file /etc/security/limits.conf. I wonder is there > is a way to put a quota for CPU % a user is allowed. The only thing that I > saw that can be set there is Max CPU Time. Or is that the same thi

Re: How to ban someone from running a program

2002-10-31 Thread Reuben D. Budiardja
On Thursday October 31 2002 11:42 am, Andrew MacKenzie wrote: > > I am managing a machine that was used by several people. One of the users > > often time run a program (written in fortran) that takes huge CPU and > > Memory that make the machine very un-responsive. So, the basic question > > is, h

Re: How to ban someone from running a program

2002-10-31 Thread Andrew MacKenzie
> I am managing a machine that was used by several people. One of the users > often time run a program (written in fortran) that takes huge CPU and Memory > that make the machine very un-responsive. So, the basic question is, how do I > prevent him to run that program without revoking his user a

RE: How to ban someone from running a program

2002-10-31 Thread Brunner, Brian T.
Original Message- >>From: Red Hat [mailto:redhat@;syrrx.com] >>Sent: Thursday, October 31, 2002 11:05 AM >>To: [EMAIL PROTECTED] >>Subject: RE: How to ban someone from running a program >> >> >> >>You could change the ownership to root (or any ot

Re: How to ban someone from running a program

2002-10-31 Thread Mike Burger
Change the ownership (user and group) to something other than that user, and only grant execute permissions to the user/group which then owns that app. On Thu, 31 Oct 2002, Reuben D. Budiardja wrote: > > Hi all, > I am managing a machine that was used by several people. One of the users > oft

RE: How to ban someone from running a program

2002-10-31 Thread Red Hat
-Original Message- From: Reuben D. Budiardja [mailto:reubendb@;innovativethought.com] Sent: Thursday, October 31, 2002 7:35 AM To: [EMAIL PROTECTED] Subject: How to ban someone from running a program Hi all, I am managing a machine that was used by several people. One of the users oft

How to ban someone from running a program

2002-10-31 Thread Reuben D. Budiardja
Hi all, I am managing a machine that was used by several people. One of the users often time run a program (written in fortran) that takes huge CPU and Memory that make the machine very un-responsive. So, the basic question is, how do I prevent him to run that program without revoking his user

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

running a program as root

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

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

running a program

1998-05-03 Thread Gary Neff
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 file Install and an install directory I type "Install" and nothing I know this