From owner-freebsd-current Thu Feb 17 18:48:38 2000 Delivered-To: freebsd-current@freebsd.org Received: from relay.butya.kz (butya-gw.butya.kz [212.154.129.94]) by hub.freebsd.org (Postfix) with ESMTP id AB14637B55D for ; Thu, 17 Feb 2000 18:48:33 -0800 (PST) (envelope-from bp@butya.kz) Received: from bp (helo=localhost) by relay.butya.kz with local-esmtp (Exim 3.13 #1) id 12LdSx-000CBf-00; Fri, 18 Feb 2000 08:48:23 +0600 Date: Fri, 18 Feb 2000 08:48:23 +0600 (ALMT) From: Boris Popov To: The Hermit Hacker Cc: freebsd-current@freebsd.org Subject: Re: [mount_nwfs] Got it!! But ... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 17 Feb 2000, The Hermit Hacker wrote: > Great, finally figured out what I was missing for the mount_nwfs command congrats... > How do I get it to automount on reboot? From what I can tell, you have to > be root to do it ... but, you have to enter a passwd when you do it this > way, so its not something you can add to /etc/fstab when a machine reboots fstab(5) entries can be used to specify options for connection and should be marked as 'noauto' (see man mount_nwfs(8)). Please take a look at /usr/share/examples/nwclient/nwfs.sh.sample file. Line 14 of it sets and exports HOME variable. Nothing prevents you to set this variable to "/home/fred" and call mount_nwfs with "-O fred" argument. Of course, fred has to specify NetWare password in his .nwfsrc file. > So farr as I can tell, this is great for a single-user environemnt, but > not multi-user, but it could just be a doc I'm missing ... I've got reports where ncplib supports more than 10K users. -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message