Date: Tue, 09 Nov 1999 12:24:07 -0800 From: William Richard <wdr@tdl.com> To: Marc Wandschneider <MarcW@Lanfear.com> Cc: questions@FreeBSD.ORG Subject: Re: XDM question. Message-ID: <382882E7.D6E2B076@tdl.com> References: <13D5F9EDFD72D211BC3100105A1C2233054993@akira.lanfear.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Marc Wandschneider wrote: > Is the <XDIR>/lib/X11/xdm/Xsession file where I'd set global > settings for this? I'd like all users to start out with the same path, > MANPATH, etc ... Yup. Start off your Xsession file like this: #!/bin/sh PATH=/bin:/usr/local/bin...; export PATH MANPATH=/usr/share/man...; export MANPATH [ rest of Xsession ] Each is just a colon-delimited list of directories. You can set other environment variables there, too. The users' shells will read in the path information (whether they're using csh, bash, etc.). Remember not to include a relative path specification (don't include '.' in the path) if you're going to use xdm to log in as root--this is a security hole. If you want to put the pwd in the user's path, include it in their ~/.xsession file. Cheers, William Richard wdr@tdl.com 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?382882E7.D6E2B076>