🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Graham Daveney Sat, 03 May 1997 00:00
permissions on rmail
#17507
Author: Graham Daveney
Date: Sat, 03 May 1997 00:00
26 lines
1280 bytes
Hi Guys,

after having successfully sent and received mail via uucp I have started
trying to get news to work over uucp.

Previously rnews had the following permissions, if these were used then
uuxqt trying to run rnews would fail.

-r-sr-x---   1 news     uucp        25327 Apr  6 08:50 /usr/news/bin/rnews

Once the permissions on the rnews were set to 
-r-sr-xr-x   1 news     uucp        25327 Apr  6 08:50 /usr/news/bin/rnews

Everything magically worked.

I'm happy now as everything is working, but I just want to know why ?

I would have thought that the first set of permissions would have been enough.


Thanks
Graham
graham@daveney.matra.com.au

Re: permissions on rmail
#17524
Author: Villy Kruse
Date: Sun, 04 May 1997 00:00
38 lines
1627 bytes

daveney@altus.speednet.com.au (Graham Daveney) writes:

>Hi Guys,

> after having successfully sent and received mail via uucp I have started
> trying to get news to work over uucp.

> Previously rnews had the following permissions, if these were used then
> uuxqt trying to run rnews would fail.

> -r-sr-x---   1 news     uucp        25327 Apr  6 08:50 /usr/news/bin/rnews

> Once the permissions on the rnews were set to 
> -r-sr-xr-x   1 news     uucp        25327 Apr  6 08:50 /usr/news/bin/rnews

> Everything magically worked.

> I'm happy now as everything is working, but I just want to know why ?

> I would have thought that the first set of permissions would have been enough.

My guess is that uuxqt is set user id to uucp and therefore uuxqt does 
not have permisions to run rnews which was set to be executable as user news
or group uucp.  Setting set group ID bit on uuxqt and make its group uucp 
migh also solve the permision problem.

Does this make sense?


Villy

>Thanks
>Graham
>graham@daveney.matra.com.au

Re: permissions on rmail
#17539
Author: Alan Brown
Date: Mon, 05 May 1997 00:00
22 lines
1364 bytes

In article <5ki8qh$71k@solair1.inter.nl.net>,
Villy Kruse <vkruse@solair1.inter.NL.net> wrote:

>My guess is that uuxqt is set user id to uucp and therefore uuxqt does 
>not have permisions to run rnews which was set to be executable as user news
>or group uucp.  Setting set group ID bit on uuxqt and make its group uucp 
>migh also solve the permision problem.

It does.

Also, adding user news to group uucp and user uucp to group news works 
and enables things to be done more securely (ie, so joe luser can't 
inject forged articles!)

AB
-- 
o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default 
  "on" - See http://spam.abuse.net/spam/ http://www.sendmail.org/antispam.html

Re: permissions on rmail
#17540
Author: Graham Daveney
Date: Mon, 05 May 1997 00:00
48 lines
2045 bytes

Villy Kruse (vkruse@solair1.inter.NL.net) wrote:
: 
: daveney@altus.speednet.com.au (Graham Daveney) writes:
: 
: >Hi Guys,
: 
: > after having successfully sent and received mail via uucp I have started
: > trying to get news to work over uucp.
: 
: > Previously rnews had the following permissions, if these were used then
: > uuxqt trying to run rnews would fail.
: 
: > -r-sr-x---   1 news     uucp        25327 Apr  6 08:50 /usr/news/bin/rnews
: 
: > Once the permissions on the rnews were set to 
: > -r-sr-xr-x   1 news     uucp        25327 Apr  6 08:50 /usr/news/bin/rnews
: 
: > Everything magically worked.
: 
: > I'm happy now as everything is working, but I just want to know why ?
: 
: > I would have thought that the first set of permissions would have been enough.
: 
: My guess is that uuxqt is set user id to uucp and therefore uuxqt does 
: not have permisions to run rnews which was set to be executable as user news
: or group uucp.  Setting set group ID bit on uuxqt and make its group uucp 
: migh also solve the permision problem.
: 
: Does this make sense?
: 
: 
: Villy
: 
Thank you very much,


this was the exact answer to the problem.

I approached it from a different angle though, I changed the uid for rnews 
to uucp and the gid to uucp and now it works fine.


Tah
Graham

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