Thank you.  Just what I needed.

Jeff Malka <[EMAIL PROTECTED]>
Registered Linux user  183185

----- Original Message -----
From: Abe <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 10, 2000 7:47 PM
Subject: RE: [newbie] How to overwrite a file if not root?


> Hey, I've got the same thing set up.  Here's the steps:
>
> 1. become root
> 2. in roots home directory open the file ~/.bash_logout with the text
editor
> of your choice
> 3. add the line imwheel -k
> 4. save the file
>
> This should kill the imwheel process that belongs to root as you log out
of
> root which will make the imwheel.pid file that belongs to root go away.
When
> you log in as yourself, imwheel will either start again automatically or
you
> may have to add an imwheel run command to your autostart folder.
>
> This is a sort of quick and dirty answer to this problem that my sister
Dacia
> worked out and shared with me.  I'm sure there is a better way.  I'm just
not
> experienced enough to know it.
>
>
> Abe
>
>
> >===== Original Message From [EMAIL PROTECTED] =====
> >On Sun, 10 Sep 2000, you wrote:
> >> I had this problem and I just put imwheel -k in roots
> >> bash logout file in root's home directory.  Not pretty
> >> I guess but it works.
> >>
> >> Dacia
> >
> >I thought there would be solution like that.  How exactly do you do that.
I
> >found roots bash logout file.  All it contains is:
> >
> ># ~/.bash_logout
> >
> >clear
> >
> >
> >What "exactly" do you put in that file and where?  This is a newbie here!
> >
> >Thanks
> >
> >--
> >Jeff Malka <[EMAIL PROTECTED]>
> >Registered Linux User 348854
> >
> >
> >
> >
> >
> >> --- Jeff Malka <[EMAIL PROTECTED]> wrote:
> >> > This is very basic but I am having trouble figuring
> >> > it out.
> >> >
> >> > There is a program called imwheel that produces a
> >> > file called
> >> > /tmp/imwheel.pid.  If I start it as a user I can
> >> > overwrite imwheel.pid
> >> > (which I need to do at boot up).  If I happen to
> >> > start imwheel as root, when
> >> > I boot again as a user, I cannot overwrite the
> >> > imwheel.pid produced by root
> >> > unless I become su to delete it first.
> >> >
> >> > Is there a way to force imwheel to produce an
> >> > imwheel.pid that can be
> >> > overwritten by any user?  How?
> >> >
> >> > Thank you.
> >> >
> >> > Jeff Malka <[EMAIL PROTECTED]>
> >> > Registered Linux user  183185
> >> >
> >> >
> >> >
> >>
> >>
> >> __________________________________________________
> >> Do You Yahoo!?
> >> Yahoo! Mail - Free email you can access from anywhere!
> >> http://mail.yahoo.com/
> >--
> >Jeff Malka <[EMAIL PROTECTED]>
> >Registered Linux User 348854
>
> Jesus saves,
> Allah forgives,
> Chthulu thinks you'd make a nice sandwich.
>
>
>


Reply via email to