Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 1997 12:50:36 -0800
From:      RGireyev@bellind.com
To:        <ben@narcissus.ml.org>
Cc:        <questions@freebsd.org>
Subject:   RE: Post installation stuff
Message-ID:  <c=US%a=_%p=BellInd%l=CDCEXCHANGE-970304205036Z-965@cdcexchange.bellind.com>

next in thread | raw e-mail | index | archive | help
>> [..]
>> 
>> >> 
>> >> 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."
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c=US%a=_%p=BellInd%l=CDCEXCHANGE-970304205036Z-965>