Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

normality(5) [linux man page]

normality(5)							File Formats Manual						      normality(5)

NAME
normality - definition of what types of normalities different users may have. SYNOPSIS
/etc/normality DESCRIPTION
The normality configuration file has a rather simple syntax, as shown in the diagram in the next section. Some things to remember is that the normality file's influence is inversely proportional to the user's cluefulness and that, in certain cirumstances, modification of the normality file can and will be considered immoral. NORMALITY GRAMMAR
<normality file> := <normality file> <line> | ; <line> := <normality type> ': ' <userlist> | <normality type> '! ' <userlist> | <normality type> '= ' <normality tags> | <comment> <normality type> := [A-Z][a-zA-Z0-9]+ <userlist> := <username> ', ' <userlist> ';0 | <username> ';0 <normality tags> := <normality tag> ', ' <normality tags> ';0 | <normality tag> ';0 <normality tag> := 'marriage' | 'love-relation' | 'nice-job' | 'money' | 'spare-time' | 'friends' | 'no-pager' | 'vacation' <comment> := '#' .* '0 SEMANTICS
It is expected that you specify all normality types before you start assigning (or disassigning) users to (or from) them. That is so the system can do an easier consistency check of the specification. Let's say that we have a system with three normality types, foo, bar and gazonk and two users, cucumber and onion. Now, a line like "foo! onion;" would exclude onion from having any of the real-life things specified by the foo type, even if that (or those) things appear in another normality type. So, the disallow syntax overrides the allow syntax (specified by "<type>: <username>..."). There is always an implicit type named ``all'', that contains all normality tags. For all system administrators, you have an implicit rule, "all! asr". EXAMPLES
# Normality file for a sad system # Our users are onion, cucumber, jdoe, jrl and washu animetype= love-relation, nice-job, friends, spare-time; notworst= love-relation, nice-job, friends; sysadm= friends; # All normality types we will use are declared # Now let's do the magic stuff... all: jdoe, jrl; animetype: washu; sysadm: cucumber; all! onion; # Now, this is fairly easy, OK? WARNINGS AND BUGS
This file messes with the real world, so a bit of caution is recommended. Newer versions of the chastise(3) library function modifies this file on-the-fly. Has a tendecy to create small discontinuities in the velvet of reality whenever there are syntax errors in the normality file. AUTHOR
This sick idea was put down in *roff format by Ingvar Mattsson, as a contribution to the alt.sysadmin.recovery man page collection. 4th Berkeley Distribution Release 0.001 alpha normality(5)

Check Out this Related Man Page

USERLIST(8)						      Finger-type Userlisting						       USERLIST(8)

NAME
userlist - Userlisting of who's on your system. SYNOPSIS
userlist DESCRIPTION
This program simply gives you a listing of who is connected to your system. It is used primarily in the sorted listing of cfingerd, which utilitizes the same method of display for a more uniform output between systems. (It also made more sense to do it this way instead of having jumbled up display listings in sorted finger displays. Besides, it made more sense to do this than use finger. :) This program functions with the same types of things in mind that cfingerd does. If the user has a .nofinger file, their username will not be displayed in the userlisting. Example output is shown as: Username Real Name Idletime TTY Remote console username I'm real ... 9d 23:59 0 (remote.site.com) where it would display the user's login name, the user's real name, their idle time given in the format "dd hh:mm", their TTY, and their remote location (or where they're telnetting from). If the username is over 8 characters, the program will not search for their information in the passwd file, since it may be too long. Besides, it checks getpwnam, anyway. :) OPTIONS
-c Give standard CFINGERD (custom) output. -n List only people idle less than one day. ADDITIONAL
Although userlist is not required to run as suid root, it is a good idea. The reason is it checks each users' directory for a .nofinger file. If indeed that user has a .nofinger file in his/her directory, that user will not be shown in the userlisting. If you change the program to run as nobody.nobody, you are free to do so. But you will also show the users if they are online, regardless of whether or not they have a ".nofinger" file (as long as their directory is NOT world-readable.) CONTACTING
If you like this program, have any suggestions on how it could be modified, or have bug reports, please write to: khollis@bitgate.com. Your continued Public Domain support is appreciated! Thanks. SEE ALSO
cfingerd.conf(5), cfingerd(8), finger(1). cfingerd 1.4.2 29 August 1999 USERLIST(8)
Man Page