- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /dev/lan1 permissions
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 08:21 AM
01-19-2004 08:21 AM
after reboot from 666 to 600.
What causes this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 08:29 AM
01-19-2004 08:29 AM
SolutionDid other device files have the same problem?
I am clueless.
When a server reboots it does an ioscan and a insf to create device files.
I never seen this but maybe the umask of the server changed?
Is it not possible the device file was altered before the reboot?
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 08:36 AM
01-19-2004 08:36 AM
Re: /dev/lan1 permissions
As per the init script /sbin/init.d/maclan_init, it does create and then change the permissions for btlan3 and lan2 devices. But I don't think it is going to cause any problem.
Look at that script for more details.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 08:39 AM
01-19-2004 08:39 AM
Re: /dev/lan1 permissions
YOu can reproduce the problem by changing the permissions on /dev/lan1 to somethingelse and then run the script with 'start' argument. The permissions should be reset back to 600.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2004 08:40 AM
01-19-2004 08:40 AM
Re: /dev/lan1 permissions
I'm not certain, but I think the driver & whether the instance is in use or not play a role.
I'm looking at several identical Ns that have unused Gig-E (gelan) fibre cards & they are 600 root/sys. It also has a couple unused 10/100 TX (btlan) & THEY are 666 bin/bin.
So I guess the questions are - did this system reinstance the lans at bootup and is lan1 now unused & unplumbed? And what type card is it & what driver is it using?
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 03:35 AM
01-20-2004 03:35 AM
Re: /dev/lan1 permissions
package that uses the MAC address of that
lan interface even though it is not used.
This is scary. I found a fixlan0 script in
rc3.d that I had wrote 3 years before.
I must have needed to fix /dev/lan0 back then
and things changed to lan1 while I was gone.
I told you, touch nothing! But you bunch of
cowboys. (Cosmonaut Lev, Armageddon)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 03:48 AM
01-20-2004 03:48 AM
Re: /dev/lan1 permissions
string checks and chmod 600 lan< >.
See /sbin/rc2.d/S462maclan
Or /sbin/init.d/maclan_init
Why do this at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 04:02 AM
01-20-2004 04:02 AM
Re: /dev/lan1 permissions
How does that software get the lan address and why would it break if the permissions get changed to 600?.
Usually you can get the MAC address by lanscan or lanadmin commands.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 04:07 AM
01-20-2004 04:07 AM
Re: /dev/lan1 permissions
But as Sri points out lanscan can get all the MACs & it's executable by others.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 04:42 AM
01-22-2004 04:42 AM
Re: /dev/lan1 permissions
to lan1. But what I would like to know is
why there is a strange script to even change
lan1 to 600 in the first place.