Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

modem device permissions

Status
Not open for further replies.

AvayaTier3

Technical User
Dec 31, 2008
4,600
US
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]
[COLOR=red]crw-------   1 root     sys       20,  0 Dec 17 06:06 serial@1,400000:a[/color]
crw-------   1 uucp     uucp      20, 131072 Jan 23 08:45 serial@1,400000:a,cu
[COLOR=red]crw-r--r--   1 root     sys       20,  1 Apr  2 10:12 serial@1,400000:b[/color]
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]
[COLOR=red]crw-rw-rw-   1 root     sys       20,  0 Mar 12 12:51 serial@1,400000:a[/color]
crw-------   1 uucp     uucp      20, 131072 Apr  2 14:51 serial@1,400000:a,cu
[COLOR=red]crw-r--r--   1 root     sys       20,  1 Apr  2 06:44 serial@1,400000:b[/color]
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]
[COLOR=red]crw-rw-rw-   1 root     sys       20,  0 Jan 22 08:27 serial@1,400000:a[/color]
crw-------   1 uucp     uucp      20, 131072 Jan 23 09:49 serial@1,400000:a,cu
[COLOR=red]crw-rw-rw-   1 root     sys       20,  1 Jan 22 08:27 serial@1,400000:b[/color]
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
 
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
 
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
 
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
 
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.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top