Date: Mon, 21 Sep 1998 14:55:04 -0400 (EDT) From: Patrick Gardella <patrick@cre8tivegroup.com> To: Ghulum Dastgir <Ghulam_Dastgir@uk.ibm.com> Cc: freebsd-questions@FreeBSD.ORG Subject: RE: shells, users and X Message-ID: <XFMail.980921145504.patrick@cre8tivegroup.com> In-Reply-To: <5060100023679139000002L092*@MHS>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980921145504.patrick>