- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: doubt on the permission of /dev/ether0
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
05-06-2002 04:42 AM
05-06-2002 04:42 AM
doubt on the permission of /dev/ether0
My system startup-file - /sbin/init.d/hpbase100 - has the following entry
#######################################
C_MAJOR=$(/usr/sbin/lsdev -h -d btlan3 | awk '{print $1}')
if [ -a /dev/lan0 ]; then
LAN0_MAJOR=$(/bin/ll /dev/lan0 |awk '{print $5}')
if [ $C_MAJOR -ne $LAN0_MAJOR ]; then
/bin/rm /dev/lan0
fi
fi
if [ ! -a /dev/lan0 ]; then
/sbin/mknod /dev/lan0 c $C_MAJOR 0x000000
/usr/bin/chmod 0666 /dev/lan0
fi
if [ -a /dev/ether0 ]; then
ETHER_MAJOR=$(/bin/ll /dev/ether0 |awk '{print $5}')
if [ $C_MAJOR -ne $ETHER_MAJOR ]; then
/bin/rm /dev/ether0
fi
fi
if [ ! -a /dev/ether0 ]; then
/sbin/mknod /dev/ether0 c $C_MAJOR 0x000001
/usr/bin/chmod 0666 /dev/ether0
fi
##########################################
My /dev/ether0 has the permission 0666.
Is this permission really required ? Will it not cause some security issues ?
Thanks and Regards
Visha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 04:57 AM
05-06-2002 04:57 AM
Re: doubt on the permission of /dev/ether0
My hpbase100 does not have that for 10.20. What OS are you running?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 05:06 AM
05-06-2002 05:06 AM
Re: doubt on the permission of /dev/ether0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 06:08 AM
05-06-2002 06:08 AM
Re: doubt on the permission of /dev/ether0
I checked it on other 3 k580, 10.20 and found the same !!!
Vishal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 06:25 AM
05-06-2002 06:25 AM
Re: doubt on the permission of /dev/ether0
crw-r--r-- bin:bin
for both ether0,ether1,lan0 and I couldn't find any chmod statement in the startup file.
I'm suspecting your startup file has the chmod line purposely added to it.
Under normal circumstances there shouldn't be a need for the permission to be world-writable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 06:31 AM
05-06-2002 06:31 AM
Re: doubt on the permission of /dev/ether0
Even we have the same permissions and I am attaching a copy og hpbase100 so that you can cross check it ,there is definaltely a security concern as I am also thinking now on the same lines.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 06:31 AM
05-06-2002 06:31 AM
Re: doubt on the permission of /dev/ether0
Even we have the same permissions and I am attaching a copy og hpbase100 so that you can cross check it ,there is definaltely a security concern as I am also thinking now on the same lines.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 06:37 AM
05-06-2002 06:37 AM
Re: doubt on the permission of /dev/ether0
I've checked my N4000 running 11.0, my K570 running 11.0, and my C3000 running 11i. They all have the exactly the same permissions as yours. I would leave them alone.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2002 06:40 AM
05-06-2002 06:40 AM
Re: doubt on the permission of /dev/ether0
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 12:08 AM
05-07-2002 12:08 AM
Re: doubt on the permission of /dev/ether0
S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 09:59 PM
05-07-2002 09:59 PM
Re: doubt on the permission of /dev/ether0
Vishal