Article View: news.software.nntp
Article #71766Re: Authorisation from Users on a Linux system
From: Jeffrey M. Vinocur
Date: Sun, 05 Jun 2005 02:20
Date: Sun, 05 Jun 2005 02:20
41 lines
2487 bytes
2487 bytes
In article <1117921918.453974.307480@z14g2000cwz.googlegroups.com>, <themf@graffiti.net> wrote: > >> root.news would work, provided you make it mode 4750. > >Oh My God, Eureka! It's WORKING!! :)) >What is mode 4750 exactly, btw? Okay, all of these modes would work for you: 4750 is rwsr-x--- 4550 is r-sr-x--- 4754 is rwsr-xr-- 4554 is r-sr-xr-- The key here is that the program is SUID (set user ID), because of the 4 on the front (can also be given by `chmod u+s`). That means that the program always has the power of its owner (in this case, root), even when started by someone else. Therefore it's important to limit who can start it. This is why there must not be "others execute" permission. Also, you want to restrict who can modify the file. >And why did I need to comment out the "auth localhost" part, and why >had you thought it was necessary? Your original readers.conf included references to localhost, so I thought you might want to have a default level of access for connections coming from localhost. Even if you left them in, you'd still be able to authenticate from localhost by choosing the appropriate option in your client configuration; that bit of readers.conf does not keep you from authenticating for full access. -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<d7tngj$13l$1@puck.litech.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mailReferences:
<1117394384.830543.237020@z14g2000cwz.googlegroups.com> <1117694895.612375.240830@z14g2000cwz.googlegroups.com> <d7r6ds$fv5$1@puck.litech.org> <1117921918.453974.307480@z14g2000cwz.googlegroups.com>Show Full Headers
Complete Article Headers
Message-ID: <d7tngj$13l$1@puck.litech.org> Subject: Re: Authorisation from Users on a Linux system Date: Sun, 05 Jun 2005 02:20:03 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <1117394384.830543.237020@z14g2000cwz.googlegroups.com> <1117694895.612375.240830@z14g2000cwz.googlegroups.com> <d7r6ds$fv5$1@puck.litech.org> <1117921918.453974.307480@z14g2000cwz.googlegroups.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 41 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1117938003 1141 66.218.0.75 (5 Jun 2005 02:20:03 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Sun, 5 Jun 2005 02:20:03 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)