🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
7 messages
7 total messages Started by Jack Ryan Sun, 18 Oct 2015 01:27
Mixmaster Restart Etiquette
#277797
Author: Jack Ryan
Date: Sun, 18 Oct 2015 01:27
14 lines
1246 bytes
When I make a change to dest.alw or dest.blk do I have to stop and 
restart mixmaster. The only way I have found to stop and restart 
mixmaster without rebooting is to:

 su -
 enter root password
 cd /etc/init.d
 ./mixmaster stop

Why do I have to be root in order to stop mixmaster when it was 
created by user mix?

Finally is the method that I selected above the proper way to stop 
and restart mixmaster?
Re: Mixmaster Restart Etiquette
#277799
Author: Anonymous
Date: Sun, 18 Oct 2015 02:33
9 lines
1278 bytes
On Sat, 17 Oct 2015 21:27:10 -0400 (EDT), Jack Ryan <noreply@remailer.cpunk.us> wrote:

>Why do I have to be root in order to stop mixmaster when it was 
>created by user mix?

mix may be owned by the mix user, but that may not hold for the /etc/init.d/mixmaster script.

What are the user:group properties of the script?
Re: Mixmaster Restart Etiquette
#277800
Author: Anonymous Remailer (austria)
Date: Sun, 18 Oct 2015 03:50
19 lines
1660 bytes
On Sat, 17 Oct 2015 22:33:10 -0400, you wrote:
>
> On Sat, 17 Oct 2015 21:27:10 -0400 (EDT), Jack Ryan <noreply@remailer.cpunk.us> wrote:
>
> >Why do I have to be root in order to stop mixmaster when it was
> >created by user mix?
>
> mix may be owned by the mix user, but that may not hold for the /etc/init.d/mixmaster script.
>
> What are the user:group properties of the script?

This is what shows up in the directory listing in /etc/init.d for 
mixmaster

-rwxr-xr-x  1 root root  2434 May 19  2014 mixmaster

So is the only way to close mixmaster is to be logged in as root 
and running this script or is there another way?
Re: Mixmaster Restart Etiquette
#277805
Author: Anonymous
Date: Sun, 18 Oct 2015 11:38
21 lines
1514 bytes
> On Sat, 17 Oct 2015 22:33:10 -0400, you wrote:
> 
>>
>> On Sat, 17 Oct 2015 21:27:10 -0400 (EDT), Jack Ryan <noreply@remailer.cpunk.us> wrote:
>>
>>> Why do I have to be root in order to stop mixmaster when it was
>>> created by user mix?
>>
>> mix may be owned by the mix user, but that may not hold for the /etc/init.d/mixmaster script.
>>
>> What are the user:group properties of the script?
> 
> This is what shows up in the directory listing in /etc/init.d for
> mixmaster
> 
> -rwxr-xr-x  1 root root  2434 May 19  2014 mixmaster
> 
> So is the only way to close mixmaster is to be logged in as root
> and running this script or is there another way?

  I don't have a mixmaster in init.d, so I just do a "killall mixmaster" from root, go to the mixmaster folder and do a "./mixmaster -D".
Re: Mixmaster Restart Etiquette
#277806
Author: Anonymous
Date: Sun, 18 Oct 2015 12:13
23 lines
1482 bytes
> When I make a change to dest.alw or dest.blk do I have to stop and
> restart mixmaster. The only way I have found to stop and restart
> mixmaster without rebooting is to:
> 
> su -
> enter root password
> cd /etc/init.d
> ./mixmaster stop
> 
> Why do I have to be root in order to stop mixmaster when it was
> created by user mix?

  The ./mixmaster you are executing above is a script called
mixmaster that is in folder /etc/init.d/.  It is not actually
mixmaster, but a script that starts, restarts, and stops the
real mixmaster residing in user mix.

> 
> Finally is the method that I selected above the proper way to stop
> and restart mixmaster?

  I would say that it is a way to stop and restart mixmaster.  Just
killing mixmaster and restarting it from /mix will work also.
Re: Mixmaster Restart Etiquette
#277809
Author: Anonymous
Date: Sun, 18 Oct 2015 13:24
27 lines
2093 bytes
On Sun, 18 Oct 2015 05:50:48 +0200 (CEST), "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> wrote:

>
>On Sat, 17 Oct 2015 22:33:10 -0400, you wrote:
>>
>> On Sat, 17 Oct 2015 21:27:10 -0400 (EDT), Jack Ryan <noreply@remailer.cpunk.us> wrote:
>>
>> >Why do I have to be root in order to stop mixmaster when it was
>> >created by user mix?
>>
>> mix may be owned by the mix user, but that may not hold for the /etc/init.d/mixmaster script.
>>
>> What are the user:group properties of the script?
>
>This is what shows up in the directory listing in /etc/init.d for 
>mixmaster
>
>-rwxr-xr-x  1 root root  2434 May 19  2014 mixmaster
>
>So is the only way to close mixmaster is to be logged in as root 
>and running this script or is there another way?

That is what the packager intended when s/he created the script.

You might be able to relax the permissions on the script to allow other users to execute it, but without seeing what's inside it, I
can't say that that will work. Worth a try.
Re: Mixmaster Restart Etiquette
#277812
Author: elvis-85503
Date: Mon, 19 Oct 2015 21:42
15 lines
1511 bytes
> This is what shows up in the directory listing in /etc/init.d for 
> mixmaster
>
> -rwxr-xr-x  1 root root  2434 May 19  2014 mixmaster
>
> So is the only way to close mixmaster is to be logged in as root 
> and running this script or is there another way?

Scripts such as that often create a pidfile to track what the new
process is running as.   Also it may do something like
  su - mix -c "Mix/mixmaster"
where the su requires it to be root.

If the init script is replaced it has to be done in a way that still
works when run as root because that is what happens at boot.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads