In article <40f68504$0$32175$a0ced6e1@news.skynet.be>, VP wrote:
>
> Hi,
> I would like to dine some aliases for all ksh users in my workstation
> (hpux 11.00). I tried in /etc/profile but the aliases are not
> available in user login. Any ideas for help ?
There's nothing built in to the HP operating system that would allow
you to do this. That being said, the logic is fairly easy to
incorporate.
Mandrake and Redhat Linuxes use a directory called /etc/profile.d
to store a number of shell scripts which set aliases. The standard
~/.bashrc calls these scripts to set them. You could create a
similar set up by creating the directory, and the aliases file
that you want, then editing the /etc/skel/.kshrc file to source
the directory/files. You would have to script the addition to
~/.kshrc for any pre-existing user accounts.
HTH.
--
--------
Senior UNIX Admin
O'Leary Computer Enterprises
dkoleary@olearycomputers.com (w) 630-904-6098 (c) 630-248-2749
resume:
http://www.olearycomputers.com/resume.html