[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Part1 - Part2 - Part3 - Part4 - Part5 - Single Page
Top Document: comp.unix.aix Frequently Asked Questions (Part 3 of 5)
Previous Document: 1.710: What are the theoritical limits within the LVM?
Next Document: 1.802: Where's the C compiler?
-
Search the FAQ Archives
Part1 - Part2 - Part3 - Part4 - Part5 - Single Page
Top Document: comp.unix.aix Frequently Asked Questions (Part 3 of 5)
Previous Document: 1.710: What are the theoritical limits within the LVM?
Next Document: 1.802: Where's the C compiler?
1.800: How do I control how hostnames are resolved?
Information from AIX 4.1.2 Infoexplorer:
The default order can be overwritten by creating the configuration file,
/etc/netsvc.conf and specifying the desired order. Both the default and
/etc/netsvc.conf can be overwritten with the environment variable,
NSORDER. If either the /etc/netsvc.conf file or environment variable,
NSORDER are defined, then at least one value must be specified along with
the option.
examples:
echo hosts = local,nis,bind >/etc/netsvc.conf
NSORDER=local,bind; export NSORDER
[Editor's notice: As of AIX 4.3 you also have bind4 & bind8 (for IPv4 & IPv6)]
------------------------------
Subjet: 1.801: dtlogin ignores /etc/profile?
From: Trevor Bourget (trevor@thomsoft.com)
Read the /usr/dt/bin/Xsession script. You can add a file to the
/etc/dt/config/Xsession.d and it will get sourced as part of the
startup. The order is: $HOME/.dtprofile, /etc/dt/config/Xsession.d/*,
/usr/dt/config/Xsession.d/* (backwards, in my opinion, but CDE is a
committee result after all).
>From: Ed Ravin <eravin@panix.com>
If you want your terminal session to automatically read in
/etc/profile and your .profile when they start up, you need to either
invoke them with the "-ls" option (which I couldn't figure out how to
do, perhaps someone else can elaborate), or set up the default X
resources so that they set:
*Dtterm*loginShell: true
You could always do this with the .Xresources file in your own account,
but that wouldn't fix any other users in the system. To make this change
globally:
CDE configuration files are kept in /usr/dt/config
Those files warn you strenuously not to change them, since AIX upgrades
will overwrite them and lose your changes. They recommend that you copy
the files to /etc/dt/config and change them there, so:
# cd /usr
# find dt/config -print | cpio -pdvum /etc
... (files get copied)
# cd /etc/dt/config/C
# echo "*Dtterm*loginShell: true" >> sys.resources
# cd ../en_US
# echo "*Dtterm*loginShell: true" >> sys.resources
From: Olaf Meeuwissen <olaf@IMSL.shinshu-u.ac.jp>
The problem is in /usr/dt/bin/Xsession. This script only recognizes
the following login shells: sh, ksh and csh (as of $Revision: 1.12 $).
All other shells are considered non-standard.
The fix is to have your sys-admin add any other login shells in the
right places in the script (twice in the "Start the session" part).
Look for "case ${SHELL##*/} in" and add shells in the patterns.
Note that this script will be overwritten unconditionally by system
updates :-( and, unlike much other stuff in /usr/dt/, copying it to
/etc/dt/ does not work.
For which shells to add, you may want to:
$ grep shells /etc/security/login.cfg
Top Document: comp.unix.aix Frequently Asked Questions (Part 3 of 5)
Previous Document: 1.710: What are the theoritical limits within the LVM?
Next Document: 1.802: Where's the C compiler?
Part1 - Part2 - Part3 - Part4 - Part5 - Single Page
[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
Send corrections/additions to the FAQ Maintainer:
bofh@mail.teleweb.pt (Jose Pina Coelho)
Last Update October 22 2009 @ 05:22 AM