From owner-freebsd-questions Tue Mar 4 12:46:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA14805 for questions-outgoing; Tue, 4 Mar 1997 12:46:56 -0800 (PST) Received: from bellind.com ([206.101.34.2]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA14799 for ; Tue, 4 Mar 1997 12:46:45 -0800 (PST) From: RGireyev@bellind.com Received: from cdcexchange.bellind.com ([170.1.130.2]) by firewall.bellind.com with SMTP id <3663-3>; Tue, 4 Mar 1997 12:43:51 -0800 Received: by cdcexchange.bellind.com with Microsoft Exchange (IMC 4.0.837.3) id <01BC289A.A8CB1F50@cdcexchange.bellind.com>; Tue, 4 Mar 1997 12:50:38 -0800 Message-ID: To: Cc: Subject: RE: Post installation stuff Date: Tue, 4 Mar 1997 12:50:36 -0800 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.837.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> [..] >> >> >> >> >> Question 1: I would like to have my prompt (PS1) >> >> to always show me the directory path I'm in (pwd) >> >> In HP-UX land (Korn shell) it's PS1='$PWD'. >> >> Any suggestions. >> > >> >I have a couple of suggestions: >> > >> >1) install the pd-ksh port so you have ksh. >> >> I did pull that down last night it looked alrmingly small (2K). >> Now if I install it will I be able to set my prompt by PS1='$PWD' ??? > >All you pulled down was the port -- when you build it will grab the >source >code off the net automatically. > >You need to install ksh and set it as your shell, then you can set your >prompt in the way you're accustomed to. Thank you. I read the README file that gave me the FTP site where I could get the distribution. Now this may seem stupid but I think Korn shell is so good it's gotta be a part of the distribution. > >> >2) if you want to use tcsh, use a statement that looks something like >> > this: >> >> I am guessing tcsh is a c shell ?? I just got used to Korn shell >> so I guess I better keep it. > >tcsh is the "turbo c shell". > >> >set prompt = "${mch:q}:{%/}% " >> > >> >This gives you a prompt that looks something like this: >> > >> >narcissus:{/home/ben}% >> > >> >Edit to taste -- it's the %/ part that gives the current working >> >directory. >> > >> >> Question 2: After installing the system I created >> >> a user, me. And assigned him (me) to the group wheel. >> >> But I cannot do su or shutdown, what would be a >> >> better group choice (bin comes to mind but I wanna >> >> be sure) >> > >> >You should be able to su. Are the permissions on /usr/bin/su 4555? >> >Shutdown belongs to group operator -- I put myself in that group and >> >made >> >/sbin/shutdown mode 4550, and it works. >> >> So should I have group operator AND wheel??? > >I don't see why not. Troubles continue. I added another user onto the system ( named beavis) and assigned him to the group bin, which if I'm not mistaken is the group of the root. I logged in as beavis and STILL was not allowed to su :-( I am running a clean install of 2.1.7 (not an upgrade) and I add users using /stand/sysinstall . Am I the only clueless newbie this is happening to? > > > > Ben > >"You have your mind on computers, it seems." > >