HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- permissions issue on /dev/mdem
Operating System - Linux
1827849
Members
1791
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-16-2005 03:23 PM
05-16-2005 03:23 PM
permissions issue on /dev/mdem
Hi,
I am running ubuntu linux, and configured linmodem on it.
I have configured another user in it and when I try to dial internet using the user login it generates error /dev/modem not found.
I then su - root and chmod 666 to /dev/modem and then I am able to dial using that login but when I restart my box the permissions are gone again.
Anybody any Ideas why permissions not there when i am rebooting.
Thanks,
Amit.
I am running ubuntu linux, and configured linmodem on it.
I have configured another user in it and when I try to dial internet using the user login it generates error /dev/modem not found.
I then su - root and chmod 666 to /dev/modem and then I am able to dial using that login but when I restart my box the permissions are gone again.
Anybody any Ideas why permissions not there when i am rebooting.
Thanks,
Amit.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 03:44 PM
05-16-2005 03:44 PM
Re: permissions issue on /dev/mdem
Ubuntu, the other dark Linux is a very secure linux.
Based on my limited experience on that flavor, one of the following is true.
* the driver /dev/modem is recreated every boot, similar to an hpux insf -e, which would remove the permissions.
* SELINUX or some other script is checking permissions of important files at boot time and returning them to a more secure state.
* Your system has an added sysadmin script intended to improve security that is doing this.
To fix it depends on how it happened. If its an add in script eliminate or modify it. If its a "feature" of the release then add your own admin script to make permissions 666 on /dev/modem and make it the last script that gets executed at run level 5 in the init sequence.
SEP
Based on my limited experience on that flavor, one of the following is true.
* the driver /dev/modem is recreated every boot, similar to an hpux insf -e, which would remove the permissions.
* SELINUX or some other script is checking permissions of important files at boot time and returning them to a more secure state.
* Your system has an added sysadmin script intended to improve security that is doing this.
To fix it depends on how it happened. If its an add in script eliminate or modify it. If its a "feature" of the release then add your own admin script to make permissions 666 on /dev/modem and make it the last script that gets executed at run level 5 in the init sequence.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 06:25 PM
05-16-2005 06:25 PM
Re: permissions issue on /dev/mdem
another method would be to put the user you are trying in to the same group as /dev/modem.
or set sticky bit permission for your internet dialing application which looks for /dev/modem
if you want to continue to use chmod 666 method then put this in /etc/rc.d/rc.local (i hope this file exists in ubuntu)
Regards,
Gopi
Never Never Never Giveup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 10:34 PM
05-17-2005 10:34 PM
Re: permissions issue on /dev/mdem
/dev/modem is almost always a link and you do not need set any permissions on a link. You should find the device that /dev/modem points to and do chmod o+rw /dev/ttyXX (assuming /dev/modem points to /dev/ttyXX).
Regards,
Sergejs
Regards,
Sergejs
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP