From owner-freebsd-questions Mon Sep 21 11:56:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA07146 for freebsd-questions-outgoing; Mon, 21 Sep 1998 11:56:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from iglou.com (iglou2.iglou.com [192.107.41.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA07068 for ; Mon, 21 Sep 1998 11:55:53 -0700 (PDT) (envelope-from patrick@cre8tivegroup.com) Received: from [204.255.227.84] (helo=gateway.cre8tivegroup.com) by iglou.com with esmtp (8.9.1/8.9.1) id 0zLB74-0000O5-00; Mon, 21 Sep 1998 14:55:07 -0400 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <5060100023679139000002L092*@MHS> Date: Mon, 21 Sep 1998 14:55:04 -0400 (EDT) From: Patrick Gardella To: Ghulum Dastgir Subject: RE: shells, users and X Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Here goes an answer... ;) On 21-Sep-98 Ghulum Dastgir wrote: > well here goes: > > 1. I've installed X-windows on my FBSD installation then decided to > change my root shell from /bin/csh to /bin/bash. After editing with vipw I > found I couldn't access > X-windows anymore i.e. if I enter startx: it says command not found. > How can I fix this as startx was working previously with csh? bash is not in /bin, but in /usr/local/bin/bash, so it can't find it in /bin. Change the path, and it'll work. > 2. More importantly, when I add a user I find that the user's home > directory is either /home/username/username or /usr/username. These home > directories don't list any files and startx doesn't work. > So how do I access X-windows as a user given I have a working > installation as root? N.B. when adding user adduser says /home > group doesn't exist - does this mean I've got to add entry to > /etc/group, if so how? My home directories are in /home/username or /usr/home/username (which are the same place, since /home is a symlink to /usr/home. User accounts don't have "ls -A" aliased to ls. If you type "ls -A" while logged in as a user, you'll see files there. (Unless you didn't copy the files when you used adduser.) Are you trying to name the user "/home"? > Is it actually worth the extra effort working as a user, because only I'll be > working on my FBSD install on my pc at home. As a mere user I guess I can't > acess the cdrom drive, mount my /dos partition etc - so I-ll be constatly > typing "su". Yes. I've accidentally typed "rm -r *" in the root partition as root before. Very nasty, even though I caught it quickly (but not quick enough!) Safety first. > By the way I have version 2.2.6 and I don't seem to have been given Ghostview > (it was included in the earlier 2.2.5 FBSD release), how come? You can add it from ports or packages easily. Someone made that decision at some time; I don't know! > any thoughts welcome..... (I'll resist the temptation here....) Patrick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message