Operating System - HP-UX
1833792 Members
2071 Online
110063 Solutions
New Discussion

Group permission -- some more

 
SOLVED
Go to solution
Ben Li
Advisor

Group permission -- some more

Thanks for all the replies. I'm using the HP-UX 10.20 now.
I make a symbolic /etc/logingroup to /etc/group. It works fine after I login. But It has another problem. When I login it dosn't read my .profile, is there anyway to make the system to read the file after add the logingroup symbolic?

Thanks,
2 REPLIES 2
Andreas Voss
Honored Contributor

Re: Group permission -- some more

Hi,

have you checked the file permissions of your .profile ?
Has it read access to the user/group ?
Have you the right shell in your /etc/passwd ?
.profile is only read by /sbin/sh, /binn/sh or /usr/bin/ksh

Regards

Andrew
Bill Hassell
Honored Contributor
Solution

Re: Group permission -- some more

Are you using a workstation? If so, you're probably running CDE which is a 'special' environment, so starting a terminal window always bypasses normal Unix login profiles. There are a couple of steps (all tied into CDE). One is to edit .dtprofile and at the end of the file, change DTSOURCEPROFILE so it will read the .profile file.

The second change is to cause the terminal windows started in CDE to actually login (like a telnet sessioin would). To do this, set the Xwindow resource: *loginShell=true


Bill Hassell, sysadmin