Operating System - HP-UX
1833589 Members
3560 Online
110061 Solutions
New Discussion

/dev/lan0 permissions HPUX 11.0

 
Jennifer Chiarelli
Regular Advisor

/dev/lan0 permissions HPUX 11.0

Everytime I reboot my L2000 server or a J2240 workstation, the permissions for /dev/lan0 change to 400. Then I have to do a chmod 777.
I don't remember this happening with 10.20 but all my 11.0 systems are doing this. Why is this happening? How can I fix this?
It's a binary world!
8 REPLIES 8
Jennifer Chiarelli
Regular Advisor

Re: /dev/lan0 permissions HPUX 11.0

I forgot to mention that all of these system do have multiple lan cards installed. But only the L2000 is using more than one lan card. The second lan card in the L2000 is used for the web console.
It's a binary world!
Joseph C. Denman
Honored Contributor

Re: /dev/lan0 permissions HPUX 11.0

The correct permission should be 600.

Why are you changing to 777??
If I had only read the instructions first??
Jennifer Chiarelli
Regular Advisor

Re: /dev/lan0 permissions HPUX 11.0

Joseph,
These systems function as license servers. Users are unable to connect unless I change the permissions.
It's a binary world!
Patrick Wallek
Honored Contributor

Re: /dev/lan0 permissions HPUX 11.0

I checked some of my machines and I had 2 that had permissions of 666 for /dev/lan0 and 4 that had permissions of 600 for /dev/lan0. It seems to make no difference which permissions it has in my environment because users can connect to all machines and our HP Openview machine is one with 600 permission and everything talks to it fine (telnet, rlogin, SNMP traffic, etc.).

How are your users connecting that they can't connect unless you change the permissions? Telnet, rlogin, and all networking services should work fine with 600 permissions.
Vincenzo Restuccia
Honored Contributor

Re: /dev/lan0 permissions HPUX 11.0

chmod 600,if you want verify with others lans:
ll /dev/lan*
Carl Zabel
Occasional Advisor

Re: /dev/lan0 permissions HPUX 11.0

We had the same problem with our license servers. Put a link in /sbin/rc2.d that points to a script "/usr/bin/chmod 766 /dev/lan0". I set my startup link like this:

ln -s /usr/local/support/fixlan0 S920fixlan0

This is the last entry in my rc2.d directory.
Indecsion is the key to flexibility
Jennifer Chiarelli
Regular Advisor

Re: /dev/lan0 permissions HPUX 11.0

Patrick,

My users are running ProE (CAD software) on MicroSoft NT workstations.
It's a binary world!
Jennifer Chiarelli
Regular Advisor

Re: /dev/lan0 permissions HPUX 11.0

Carl,
Thanks for your response! I intended to do the same. But I still can't help but wonder why this became an issue with hpux 11.0? And it sounds like you had the same issue with users getting a license. In my case it's a Flex license and a system reboot for loss of power will get me a call every time when users can't get their licenses. Changing permissions on lan0 fixes it. I also agree with those above that 666 or possibly 766 would be better. I'll try 666 first. Thanks to all that responded!!
It's a binary world!