1833780 Members
2874 Online
110063 Solutions
New Discussion

NIS and CDE

 
SOLVED
Go to solution
Laszlo Elbert
New Member

NIS and CDE

I'm a newbie in NIS
I have installed followed line by line the Installation Guide NIS on a server, I created a slave server without any errors. I checked everything that was described, no error were reported. I configured NIS client also without having any problems BUT when a user wants to login password seems to recognized but from the CDE a message generated that the .ICEauthority-l and .ICEauthorithy-c donot permit to login (message: should be removed), after the login stops. I removed the file the errors and same message is generating. Users who has not got account on client receive only command prompt login, and cannot use CDE environment. Some help would be appreciated
Thanks
Laszlo Elbert
2 REPLIES 2
Steve Steel
Honored Contributor
Solution

Re: NIS and CDE


Here are the steps I would suggest.

A)Load the latest login patch

this is from 11.00

Patch Name: PHCO_19292

Patch Description: s700_800 11.00 login(1) cumulative patch

Creation Date: 99/07/20

Post Date: 99/07/22

Hardware Platforms - OS Releases:
s700: 11.00
s800: 11.00

----------------------------------------------B)It 'appears' that libICE pays attention to the environment variable ICEAUTHORITY.

Although it seems to be impossible to disable ICEauthority a workaround can be used:

create a file
/etc/dt/config/Xsession.d/1000.ICEauthority with the following content:

#!/usr/bin/ksh

ICEAUTHORITY=$HOME/.${USER}ICEauthority
export ICEAUTHORITY

Afterwards make this file executable:

# chmod 755 /etc/dt/config/Xsession.d/1000.ICEauthority

With this setup every user gets its own ICEauthority file. But be aware that the
home directory should be writable for all users.

----------------------------------------------
C)Or

1: The problem could be the permissions and ownership of your $HOME directory.
The /home directory should be mode 777 and the /home/username directory
($HOME) should be 755.

2: The $HOME directory need to be owned by your users userid.
The group ID should be set to your primary group.

3: Make sure that in the /etc/passwd file the username is not used more than one
time.


D) It is possible that the CDE does not work well with NIS.In this case try changing the
/etc/nsswitch.conf file (man switch) to read
the hosts file first by default.


Steve Steel HP-Brussels
If you want truly to understand something, try to change it. (Kurt Lewin)
Alex Glennie
Honored Contributor

Re: NIS and CDE

I've seen this before ..... try the work-around & patch and also make sure Users are not sharing the same uids or logging in multiple times from different remote systems as the same username.