[952] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: adduser and passwd errors

daemon@ATHENA.MIT.EDU (Mark Hamstra)
Fri Oct 25 14:52:31 1996

Date: Fri, 25 Oct 1996 13:57:11 -0400 (EDT)
From: Mark Hamstra <mhamstra@sullivan.bentley.com>
To: redhat-list@redhat.com
In-Reply-To: <1.5.4.32.19961025165416.007480c8@digitalpla.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com



On Fri, 25 Oct 1996, Mac McClellan wrote:

> I have a couple of problems that I'm not sure how to solve:
> 
> 1.  adduser gives me the error:  /etc/passwd is locked.  Try again later.
> Even after a fresh boot it says locked.  I'm not sure what is keeping the
> passwd locked.
> 
> 2.  I am able to add a user in X windows using control panel/users.  However
> instead of getting the normal prompt ([user@computer /home_directory]$) I
> get this error:
> 
> ulimit: not found
> 
> and this prompt:
> 
> [\u@\h \W]\$

The prompt part is easy: you're not using bash.  Either switch to bash, or
read the man pages for the whichever shell you are using, paying attention
to the stuff on PS1.  I personally use zsh and find PS1="%n@%U%m:%u%~> "
to work well for me.

Mark Hamstra
Bentley Systems, Inc.


--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post