Date: Wed, 13 Feb 2002 12:58:58 -0600 From: "Mike Meyer" <mwm-dated-1014058738.8ecc04@mired.org> To: Brian T.Schellenberger <bts@babbleon.org> Cc: questions@freebsd.org Subject: Re: 2 Questions Message-ID: <15466.46962.307928.294404@guru.mired.org> In-Reply-To: <9552899@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Brian T.Schellenberger <bts@babbleon.org> types: > On Tuesday 12 February 2002 11:54 pm, theVanguardian wrote: > > Hi, > > I have 2 general, possibly newbie questions: > > 1. How do I allow a normal non-root user edit files (cp, mv, etc.) > > on a mounted filesystem? (i.e. su to root, then mount /floppy, but now > > only root can add or delete files on /floppy) > > chmod a+rwx /dev/fd0 /floppy > > I can't really recall if it's the mount point or the device that has to be > world-writable, but it should be harmless to give it to both unless you > allow remote logins to your machine. This is in the FAQ. The device has to be readable by the user doing the mount. The mount point has to be *owned* by the user doing the mount. > > 2. I'm running GNOME as a normal non-root user, but for some > > reason, whenever I try to run an X app from the terminal window as root, > > I get the error "Connection to :0:0 refused by server, Client is not > > authorized to connect to server" or something to that affect. For > xhost + It should be pointed out that this opens your X session up to the entire world, with no authentication whatsoever. This is a real security hazard if untrustworty people who can make tcp connections to your machine. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15466.46962.307928.294404>