Re: Post installation stuff

[ Available lists | Index of freebsd-questions | Month of Feb 1997 | Week of 28 Feb 1997 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Snob Art Genre <ben@narcissus.ml.org>
Date
28 Feb 1997 16:48:43
Subject
Re: Post installation stuff
Message-ID
Pine.NEB.3.95.970228163639.18736A-100000@narcissus.ml.org


[ Hide this part ]
On Fri, 28 Feb 1997 RGireyev@BellInd.com wrote:

> Hi!
>
> I have a success story and a couple of questions.
>
> I have been able to successfully install 2.1.7 on a
> 5x86 120, 16M RAM, 850HD. I tried using system
> commander but kept getting read error. Anyway, I ended
> up using the default MBR handler and it works just fine.
>
> 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.
2) if you want to use tcsh, use a statement that looks something like
this:

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.

> Thanks, Rudy.
>
>
>
> -------------------------------------------------------------------------
> ----------
> Communication, people, is the key. :-)
>



Ben

"You have your mind on computers, it seems."




Elapsed time: 0.135 seconds