×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

modem device permissions

modem device permissions

modem device permissions

(OP)
I am running solaris 10 on 3 different workstations

each have modems on serial ports "a" and "b"

Somehow after power outages the permissions on the following files get changed. This causes restricted access to the modems based on the permissions.

As root, I cannot change these permissions to make the modems accessible again. Can someone explain the "c" that is returned with the "ls -l" command output? And, can you help me understand how or where these permissions are set and how to manually correct this?

Machine names are sun0, sun1, sun2
these are device files with symbolic links that point from other places and they control "cu" and "ppp" modem access of users on the workstations.

CODE

Good cu on b - a does not work from root either
Good PPP on b only works from root - a does not work from root either

sun0 [101]-> pwd
/devices/pci@8,700000/ebus@5
sun0 [102]-> ls -l | egrep seria.*[ab]
crw-------   1 root     sys       20,  0 Dec 17 06:06 serial@1,400000:a
crw-------   1 uucp     uucp      20, 131072 Jan 23 08:45 serial@1,400000:a,cu
crw-r--r--   1 root     sys       20,  1 Apr  2 10:12 serial@1,400000:b
crw-------   1 uucp     uucp      20, 131073 Apr  2 13:47 serial@1,400000:b,cu
------------------------------------------------------------
Good cu on a and b
Good PPP on a - b only works from root

sun1 [210]-> pwd
/devices/pci@8,700000/ebus@5
sun1 [211]-> ls -l | egrep seria.*[ab]
crw-rw-rw-   1 root     sys       20,  0 Mar 12 12:51 serial@1,400000:a
crw-------   1 uucp     uucp      20, 131072 Apr  2 14:51 serial@1,400000:a,cu
crw-r--r--   1 root     sys       20,  1 Apr  2 06:44 serial@1,400000:b
crw-------   1 uucp     uucp      20, 131073 Apr  2 14:51 serial@1,400000:b,cu
------------------------------------------------------------
Good cu on a and b
Good PPP on a and b

sun2 [213]-> pwd
/devices/pci@8,700000/ebus@5
sun2 [214]-> ls -l | egrep seria.*[ab]
crw-rw-rw-   1 root     sys       20,  0 Jan 22 08:27 serial@1,400000:a
crw-------   1 uucp     uucp      20, 131072 Jan 23 09:49 serial@1,400000:a,cu
crw-rw-rw-   1 root     sys       20,  1 Jan 22 08:27 serial@1,400000:b
crw-------   1 uucp     uucp      20, 131073 Jan 23 09:50 serial@1,400000:b,cu

A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

36 years Bell, AT&T, Lucent, Avaya
Tier 3 for 26 years and counting
http://bshtele.com

RE: modem device permissions

(OP)
BTW, these workstations are sunblade 2000
rebooting does not change or restore these permissions.

The sun2 box is still as configured when modems were added.
I believe the reason that this box is not broken, is that the modems are not used or plugged in to the serial ports on it.

I am looking for command line help or locations and settings in some configuration file.
I have removed the modems and tty ports using solaris management console and readministered the ports. With no positive change.

A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

36 years Bell, AT&T, Lucent, Avaya
Tier 3 for 26 years and counting
http://bshtele.com

RE: modem device permissions

(OP)
bump

A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

36 years Bell, AT&T, Lucent, Avaya
Tier 3 for 26 years and counting
http://bshtele.com

RE: modem device permissions

(OP)
Any system admins out there that have seen this issue?

A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

36 years Bell, AT&T, Lucent, Avaya
Tier 3 for 26 years and counting
http://bshtele.com

RE: modem device permissions

the "c" is a character device. it has to do with the serial devices.

you say you removed it, but did you make sure it was removed from  /dev/* before recreating?

other than that, I can't say I have ever seen your issue.
 

RE: modem device permissions

(OP)
I removed both devices with SMC console
then I added them back. I did not reboot inbetween and did not check the /dev entries to see if they went away.

I will try again, thanks.
 

A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

36 years Bell, AT&T, Lucent, Avaya
Tier 3 for 26 years and counting
http://bshtele.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close