NetBSD Problem Report #5545
Received: (qmail 12348 invoked from network); 5 Jun 1998 17:17:46 -0000
Message-Id: <199806051728.KAA16778@polaris.garbled.net>
Date: Fri, 5 Jun 1998 10:28:11 -0700 (MST)
From: Charlie Root <root@polaris.garbled.net>
Reply-To: root@polaris.garbled.net
To: gnats-bugs@gnats.netbsd.org
Subject: Sup and supfilesrv manuals are insufficent
X-Send-Pr-Version: 3.95
>Number: 5545
>Category: misc
>Synopsis: Alot of data is missing from sup and supfilesrv man pages
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: garbled
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 05 10:20:00 +0000 1998
>Closed-Date: Tue May 28 20:26:32 +0000 2013
>Last-Modified: Tue May 28 20:26:32 +0000 2013
>Originator: Tim Rightnour
>Release: 1.3
>Organization:
Tim Rightnour - root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html
>Environment:
System: NetBSD polaris 1.3 NetBSD 1.3 (POLARIS) #0: Thu Mar 26 13:17:18 MST 1998 root@polaris:/usr/src/sys/arch/i386/compile/POLARIS i386
>Description:
A ton of information is missing from the supfilesrv and sup man pages.
For example, if you are trying to set up a sup server, you would look at
the EXAMPLE section which plainly states:
EXAMPLE
<example>
or if you try to run it, you get:
Jun 5 10:12:48 polaris supfile[16600]: Improper login
SUP: Reason: Unknown user anon
SUP: Improper login to default accountSUP: Upgrade of current-allsrc
aborted at Jun 5 10:05:11 1998
SUP: Aborted
(btw, the above is a screen paste, it really does show up like that)
wondering what this means, you dig through the sup manual again, and come
across:
crypt=key
Files on the file server may be protected, and net-
work transmissions may be encrypted. This prevents
unauthorized access to files via sup. When files
are not accessible to the default account (e.g.
the anon anonymous account), you can specify an
alternative accountid and password for the file
server to use on the repository host. Network
transmission of the password will be always be
Which seems to indicate an "anon" account is nessecary to set up
anonymous supping from the server end. No other mention of the account
"anon" is mentioned anywhere in the manual.
additionally, under FILES in supfilesrv(1):
/usr/cs/lib/supfiles/coll.dir
directory list file for file server
/usr/cs/lib/supfiles/coll.host
host list file for system sups.
while in sup(1):
/usr/lib/supfiles/coll.dir
base directory list for system collections
so which is it?
>How-To-Repeat:
man sup
man supfilesrv
>Fix:
Update the manpages with correct, and relevant information.. Include an
example fileset in /usr/share/examples for people wanting to use sup.
perhaps have an account in /etc/passwd by default for anon, or at least a
line in the manual that describes what the account should do. Does it
need to own the directories? Does it need a shell, or special group access?
The current manpages lead you on a trial-and-error learning experience,
it really shouldn't be this hard to set things up.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: misc-bug-people->garbled
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Thu, 27 Mar 2008 14:41:28 +0000
Responsible-Changed-Why:
garbled filed this bug, he can decide what to do about it :-)
From: "S.P.Zeidler" <spz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/5545 CVS commit: src/usr.sbin/sup/source
Date: Tue, 28 May 2013 20:13:17 +0000
Module Name: src
Committed By: spz
Date: Tue May 28 20:13:17 UTC 2013
Modified Files:
src/usr.sbin/sup/source: supservers.8
Log Message:
document the anon account for anonymous access
fixing PR misc/5545
(the last bits thereof)
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/sup/source/supservers.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: spz@NetBSD.org
State-Changed-When: Tue, 28 May 2013 20:26:32 +0000
State-Changed-Why:
most of the issues in this pr have been fixed independently by other people
in the meantime; I applied the last bit of polish, it may now go.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.