Subject: bin/32215: root has shell history, users don't on default ksh
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Wouter Schoot <ascent@schoot.org>
List: netbsd-bugs
Date: 12/02/2005 11:47:00
>Number:         32215
>Category:       bin
>Synopsis:       root has shell history, users don't on default ksh
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 02 11:47:00 +0000 2005
>Originator:     Wouter Schoot <ascent@schoot.org>
>Release:        NetBSD  3.99.13
>Organization:

>Environment:
	
	
NetBSD 3.99.13 (GENERIC) #0: Wed Nov 30 13:33:35 CET 2005  test2@ascent:/home/test2/src/_obj/sys/arch/i386/compile/GENERIC i386
>Description:
When I freshly install a -current (or an RC for that matter), and I choose /bin/ksh for root, I see that I have tab completion _and_ history. When I then make a user, it only has tabcompletion. 
	
>How-To-Repeat:
Login as root, make a user and compare.
>Fix:
This is caused by the fact that root has .shrc which includes the 'set -o emacs' rule, and .shrc is included by the .profile file.
I'd very much love to have /etc/skel setup the same way (ie. new users with ksh have also the set -o emacs rule somewhere, just as root).

Is the current behaviour for a specific reason, or is it something that can be changed?

>Unformatted: