1758364 Members
2643 Online
108868 Solutions
New Discussion юеВ

cu permissions issue

 
Mike_Ca Li
Regular Advisor

cu permissions issue

I would like to get a regular user to access
/dev/cul0p6 but can't because
cu -l /dev/cul0p6 dir
returns a permission denied
however I can do the same command when root.
I changed modes 777 to /dev/tty* and /dev/cu*
what else did I miss? Thanks.
5 REPLIES 5
Jeff Schussele
Honored Contributor

Re: cu permissions issue

Hi Mike,

cu references the following files

/etc/uucp/Systems
/etc/uucp/Devices
/etc/uucp/Dialers
/var/spool/locks/LCK..(tty-device)
/dev/null

Suspect one of these is where the user is denied.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Mike_Ca Li
Regular Advisor

Re: cu permissions issue

I check all those places and relogged in same
permission denied. Anything else? Thanks
Mike_Ca Li
Regular Advisor

Re: cu permissions issue

I checked it on another system where I have /dev/cul0p6 properly configured,
cu -l /dev/cul0p6 dir
can't be ran unless ran as root. Case close.
Michael Steele_2
Honored Contributor

Re: cu permissions issue

Well, this won't hurt. The following procedure will validate the integritity of your O/S. For example, if someone did a chmod 777 * or something, or is your checksum no longer match the original.

check_patches

-or-

swverify -v -x check_permissions=true \*

Then review the sweverify and swagent.logs.
Support Fatherhood - Stop Family Law
avsrini
Trusted Contributor

Re: cu permissions issue

Hi Mike,
Is your system trusted ?.

then you have to give this user access to use cu. Otherwise only root is allowed to dial-in/out.

You can do this through SAM.

Srini.


Be on top.