Re: Users and Groups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-12-10 at 10:03 -0600, Les Mikesell wrote:
> dd yourself to the group that has access and forget all the black 
> magic stuff. 

Just out of curiousity, I did a "ll /dev/tty*" and saw a strange mixture
of ownership:

crw-rw-rw- 1 root tty  5,  0 2007-12-11 12:52 /dev/tty
crw--w---- 1 root root 4,  0 2007-12-11 12:51 /dev/tty0
crw------- 1 root root 4,  1 2007-12-11 12:53 /dev/tty1
crw--w---- 1 root tty  4, 10 2007-12-11 12:51 /dev/tty10
crw--w---- 1 root tty  4, 11 2007-12-11 12:51 /dev/tty11
crw--w---- 1 root tty  4, 12 2007-12-11 12:51 /dev/tty12
crw--w---- 1 root tty  4, 13 2007-12-11 12:52 /dev/tty13
crw--w---- 1 root tty  4, 14 2007-12-11 12:52 /dev/tty14
crw--w---- 1 root tty  4, 15 2007-12-11 12:52 /dev/tty15
crw--w---- 1 root tty  4, 16 2007-12-11 12:52 /dev/tty16
crw--w---- 1 root tty  4, 17 2007-12-11 12:52 /dev/tty17
crw--w---- 1 root tty  4, 18 2007-12-11 12:52 /dev/tty18
crw--w---- 1 root tty  4, 19 2007-12-11 12:52 /dev/tty19
crw------- 1 root root 4,  2 2007-12-11 12:53 /dev/tty2
crw--w---- 1 root tty  4, 20 2007-12-11 12:52 /dev/tty20
crw--w---- 1 root tty  4, 21 2007-12-11 12:52 /dev/tty21
crw--w---- 1 root tty  4, 22 2007-12-11 12:52 /dev/tty22
crw--w---- 1 root tty  4, 23 2007-12-11 12:52 /dev/tty23
crw--w---- 1 root tty  4, 24 2007-12-11 12:52 /dev/tty24
crw--w---- 1 root tty  4, 25 2007-12-11 12:52 /dev/tty25
crw--w---- 1 root tty  4, 26 2007-12-11 12:52 /dev/tty26
crw--w---- 1 root tty  4, 27 2007-12-11 12:52 /dev/tty27
crw--w---- 1 root tty  4, 28 2007-12-11 12:52 /dev/tty28
crw--w---- 1 root tty  4, 29 2007-12-11 12:52 /dev/tty29
crw------- 1 root root 4,  3 2007-12-11 12:53 /dev/tty3
crw--w---- 1 root tty  4, 30 2007-12-11 12:52 /dev/tty30
crw--w---- 1 root tty  4, 31 2007-12-11 12:52 /dev/tty31
crw--w---- 1 root tty  4, 32 2007-12-11 12:52 /dev/tty32
crw--w---- 1 root tty  4, 33 2007-12-11 12:52 /dev/tty33
crw--w---- 1 root tty  4, 34 2007-12-11 12:52 /dev/tty34
crw--w---- 1 root tty  4, 35 2007-12-11 12:52 /dev/tty35
crw--w---- 1 root tty  4, 36 2007-12-11 12:52 /dev/tty36
crw--w---- 1 root tty  4, 37 2007-12-11 12:52 /dev/tty37
crw--w---- 1 root tty  4, 38 2007-12-11 12:52 /dev/tty38
crw--w---- 1 root tty  4, 39 2007-12-11 12:52 /dev/tty39
crw------- 1 root root 4,  4 2007-12-11 12:53 /dev/tty4
crw--w---- 1 root tty  4, 40 2007-12-11 12:52 /dev/tty40
crw--w---- 1 root tty  4, 41 2007-12-11 12:52 /dev/tty41
crw--w---- 1 root tty  4, 42 2007-12-11 12:52 /dev/tty42
crw--w---- 1 root tty  4, 43 2007-12-11 12:52 /dev/tty43
crw--w---- 1 root tty  4, 44 2007-12-11 12:52 /dev/tty44
crw--w---- 1 root tty  4, 45 2007-12-11 12:52 /dev/tty45
crw--w---- 1 root tty  4, 46 2007-12-11 12:52 /dev/tty46
crw--w---- 1 root tty  4, 47 2007-12-11 12:52 /dev/tty47
crw--w---- 1 root tty  4, 48 2007-12-11 12:52 /dev/tty48
crw--w---- 1 root tty  4, 49 2007-12-11 12:52 /dev/tty49
crw------- 1 root root 4,  5 2007-12-11 12:53 /dev/tty5
crw--w---- 1 root tty  4, 50 2007-12-11 12:52 /dev/tty50
crw--w---- 1 root tty  4, 51 2007-12-11 12:52 /dev/tty51
crw--w---- 1 root tty  4, 52 2007-12-11 12:52 /dev/tty52
crw--w---- 1 root tty  4, 53 2007-12-11 12:52 /dev/tty53
crw--w---- 1 root tty  4, 54 2007-12-11 12:52 /dev/tty54
crw--w---- 1 root tty  4, 55 2007-12-11 12:52 /dev/tty55
crw--w---- 1 root tty  4, 56 2007-12-11 12:52 /dev/tty56
crw--w---- 1 root tty  4, 57 2007-12-11 12:52 /dev/tty57
crw--w---- 1 root tty  4, 58 2007-12-11 12:52 /dev/tty58
crw--w---- 1 root tty  4, 59 2007-12-11 12:52 /dev/tty59
crw------- 1 root root 4,  6 2007-12-11 12:53 /dev/tty6
crw--w---- 1 root tty  4, 60 2007-12-11 12:52 /dev/tty60
crw--w---- 1 root tty  4, 61 2007-12-11 12:52 /dev/tty61
crw--w---- 1 root tty  4, 62 2007-12-11 12:52 /dev/tty62
crw--w---- 1 root tty  4, 63 2007-12-11 12:52 /dev/tty63
crw--w---- 1 root root 4,  7 2007-12-11 12:51 /dev/tty7
crw--w---- 1 root tty  4,  8 2007-12-11 12:52 /dev/tty8
crw--w---- 1 root tty  4,  9 2007-12-11 12:51 /dev/tty9
crw-rw---- 1 root uucp 4, 64 2007-12-11 12:51 /dev/ttyS0
crw-rw---- 1 root uucp 4, 65 2007-12-11 12:51 /dev/ttyS1
crw-rw---- 1 root uucp 4, 66 2007-12-11 12:51 /dev/ttyS2
crw-rw---- 1 root uucp 4, 67 2007-12-11 12:51 /dev/ttyS3

Various "tty"s were owned by root:tty if they had a double-digit number,
or root:root if otherwise.  The "ttyS"s were owned by root:uucp (this
box only has one or two serial ports - one's external, and I can't
remember if there is an internal one).

I know tty and ttyS aren't the same thing, but it seems an odd mixture.

-- 
[tim@bigblack ~]$ uname -ipr
2.6.23.1-10.fc7 i686 i386

Using FC 4, 5, 6 & 7, plus CentOS 5.  Today, it's FC7.

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux