Subject: ksh won't read /etc/suid_profile
To: None <netbsd-users@netbsd.org>
From: Andrew Basterfield <list@lostgeneration.fsnet.co.uk>
List: netbsd-users
Date: 05/20/2002 15:51:39
--=.1Wy2/rJn(RDKlR
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I've been making the korn shell work as I want (emacs editing mode and
complete-list on tab) so I can dump big fat bash. For a login shell it's
fine, in /etc/profile I have

if [ "$SHELL" = "/bin/ksh" ]; then
	set -o emacs
	bind '^I'=complete-list
fi

My problem is I can't get ksh to execute /etc/suid_profile when I 'su' to
a non-login shell.  I have tried creating a symlink called
/etc/suid_profile pointing to /etc/profile and I have tried creating a
proper file, both are ignored. 'strings /bin/ksh | grep suid_profile'
confirms it's in the (stock NetBSD 1.5.2) binary.

any ideas?

--Andrew

-- 
sparc sun4c stuff:
	http://www.lostgeneration.freeserve.co.uk/sparc
PGP key for list@lostgeneration.freeserve.co.uk:
	http://www.lostgeneration.freeserve.co.uk/list.freeserve.co.uk.asc

--=.1Wy2/rJn(RDKlR
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE86Q1/yYlchKHrWIURAluqAKCSy7U5Dly+PizkrU7hpL5En5w+LACgjVY2
BGqyDkW5rj8+R9GnuhVCDbg=
=dLWe
-----END PGP SIGNATURE-----

--=.1Wy2/rJn(RDKlR--