default permissions of terminals
Hello,
how do you change the default permissions of console terminals on Fedora Core 5? Is there a file to do this or must I do this manually for each tty? Is /etc/fstab the correct place to change the default permissions for pseudo terminals? Thanks in advance, ~rh_bomani. |
The file /etc/security/console.perms sets the permissions on the console.
|
Thanks for pointing me in the write direction.
This is what I found for tty. No permission info. # file classes -- these are regular expressions <console>=tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]\.[0-9] :[0-9] <xconsole>=:[0-9]\.[0-9] :[0-9] This is what ls -la shows me for used and unused terminals. ls -la /dev/tty54 crw-rw---- 1 root tty 4, 54 May 12 14:26 /dev/tty54 (unused) [bomani@UW-RASBERRYL security]$ ls -la /dev/tty1 crw--w---- 1 bomani tty 4, 1 May 17 16:57 /dev/tty1 (in use) |
Ah, you mean the permissions of the device files, not the permissions associated with use of the console. With udev, that's controlled by the file '/etc/udev/rules.d/50-udev.rules'.
|
Yes, that what I was looking for!! Sorry for the confusion.
(Look like you meant to say /etc/udev/permissions.d/50-udev.permissions). Thanks alot |
I just performed a clean install of FC5, and the file is '/etc/udev/rules.d/50-udev.rules'. There is no '/etc/udev/permissions.d/' in FC4 or FC5.
Update: Found it. That directory is a leftover from FC3. You must have upgraded; that directory is no longer used. |
Sorry! Yes, you are correct. My FC5 machine (laptop) does not have permissions.d. I was looking at my machine here at work which is RHEL AS 4. It still has permissions.d
|
All times are GMT -5. The time now is 10:50 PM. |