]> git.pld-linux.org Git - packages/screen.git/blame - screen-info.patch
- prepared 4.0.2 for Ra as CAN-2003-0972 fix (no root or any group exploit,
[packages/screen.git] / screen-info.patch
CommitLineData
7be0e00f
JB
1--- screen-4.0.2/doc/screen.texinfo.orig 2003-12-05 14:51:46.000000000 +0100
2+++ screen-4.0.2/doc/screen.texinfo 2003-12-06 21:29:32.264574064 +0100
3@@ -3,14 +3,14 @@
07589721
JB
4 @c vi:set wm=5
5 @setfilename screen.info
6 @settitle Screen User's Manual
7-@dircategory General Commands
8 @finalout
9 @setchapternewpage odd
8ffc42de 10 @c %**end of header
7be0e00f 11 @set version 4.0.2
8ffc42de 12
8ffc42de 13+@dircategory Shell utilities:
14 @direntry
7810719a 15-* Screen: (screen). Full-screen window manager.
7be0e00f 16+* Screen: (screen). Full-screen window manager
8ffc42de 17 @end direntry
8ffc42de 18
19 @c For examples, use a literal escape in info.
7be0e00f 20@@ -176,7 +176,7 @@
c122dd4c 21 variable) who will use it to create the new window. The above example would
22 start the @code{emacs} editor (editing @file{prog.c}) and switch to its window.
23
24-If @file{/etc/utmp} is writable by @code{screen}, an appropriate record
25+If @file{/var/run/utmp} is writable by @code{screen}, an appropriate record
26 will be written to this file for each window, and removed when the
27 window is closed. This is useful for working with @code{talk},
28 @code{script}, @code{shutdown}, @code{rsend}, @code{sccs} and other
7be0e00f 29@@ -447,7 +447,7 @@
c122dd4c 30 @cindex screenrc
31 When @code{screen} is invoked, it executes initialization commands from
32 the files @file{.screenrc} in the user's home directory and
33-@file{/usr/local/etc/screenrc}. These defaults can be overridden in the
34+@file{/etc/screenrc}. These defaults can be overridden in the
35 following ways:
36 For the global screenrc file @code{screen} searches for the environment
37 variable @code{$SYSSCREENRC} (this override feature may be disabled at
7be0e00f 38@@ -968,7 +968,7 @@
c122dd4c 39 Place, where to dump hardcopy files. @xref{Hardcopy}.
1b4412ef 40 @item hardstatus [@var{state}]
c122dd4c 41 Use the hardware status line. @xref{Hardware Status Line}.
1b4412ef
PG
42-@item height [@var{lines} [@var{cols}]]
43+@item ns_regheight [@var{lines} [@var{cols}]]
c122dd4c 44 Set display height. @xref{Window Size}.
1b4412ef 45 @item help [-c @var{class}]
c122dd4c 46 Display current key bindings. @xref{Help}.
7be0e00f 47@@ -997,7 +997,7 @@
c122dd4c 48 @item logfile @var{filename}
49 Place where to collect logfiles. @xref{Log}.
1b4412ef 50 @item login [@var{state}]
c122dd4c 51-Log the window in @file{/etc/utmp}. @xref{Login}.
52+Log the window in @file{/var/run/utmp}. @xref{Login}.
1b4412ef 53 @item logtstamp [@var{state}]
c122dd4c 54 Configure logfile time-stamps. @xref{Log}.
55 @item mapdefault
7be0e00f 56@@ -1561,13 +1561,12 @@
c122dd4c 57 @kindex C-x
58 @deffn Command lockscreen
59 (@kbd{C-a x}, @kbd{C-a C-x})@*
60-Call a screenlock program (@file{/local/bin/lck} or @file{/usr/bin/lock}
61-or a builtin, if no other is available). Screen does not accept any
62-command keys until this program terminates. Meanwhile processes in the
63-windows may continue, as the windows are in the detached state.
64-The screenlock program may be changed through the environment variable
65-@code{$LOCKPRG} (which must be set in the shell from which @code{screen}
66-is started) and is executed with the user's uid and gid.
67+Call a screenlock program (@file{/usr/bin/lck} or a builtin, if no other is
68+available). Screen does not accept any command keys until this program
69+terminates. Meanwhile processes in the windows may continue, as the windows
70+are in the detached state. The screenlock program may be changed through the
71+environment variable @code{$LOCKPRG} (which must be set in the shell from
72+which @code{screen} is started) and is executed with the user's uid and gid.
73
74 Warning: When you leave other shells unlocked and have no password set
75 on @code{screen}, the lock is void: One could easily re-attach from an
7be0e00f 76@@ -1900,7 +1899,7 @@
c122dd4c 77 * Naming Windows:: Control the name of the window
78 * Console:: See the host's console messages
79 * Kill:: Destroy an unwanted window
80-* Login:: Control @file{/etc/utmp} logging
81+* Login:: Control @file{/var/run/utmp} logging
82 * Mode:: Control the file mode of the pty
83 * Monitor:: Watch for activity in a window
84 * Windows:: List the active windows
7be0e00f 85@@ -2109,7 +2108,7 @@
c122dd4c 86 @kindex L
87 @deffn Command login [state]
88 (@kbd{C-a L})@*
89-Adds or removes the entry in @file{/etc/utmp} for the current window.
90+Adds or removes the entry in @file{/var/run/utmp} for the current window.
91 This controls whether or not the window is @dfn{logged in}. In addition
92 to this toggle, it is convenient to have ``log in'' and ``log out''
93 keys. For instance, @code{bind I login on} and @code{bind O
7be0e00f 94@@ -4962,22 +4961,19 @@
c122dd4c 95 global initialization files.
96
97 @item @code{$SYSSCREENRC}
98-@itemx /local/etc/screenrc
99+@itemx /etc/screenrc
100 @code{screen} initialization commands
101
102 @item @code{$SCREENRC}
103 @itemx @code{$HOME}/.iscreenrc
104 @itemx @code{$HOME}/.screenrc
105-Read in after /local/etc/screenrc
106+Read in after /etc/screenrc
107
108 @item @code{$SCREENDIR}/S-@var{login}
109
110-@item /local/screens/S-@var{login}
111+@item /tmp/screens/S-@var{login}
112 Socket directories (default)
113
114-@item /usr/tmp/screens/S-@var{login}
115-Alternate socket directories.
116-
117 @item @var{socket directory}/.termcap
118 Written by the @code{dumptermcap} command
119
7be0e00f 120@@ -4995,7 +4991,7 @@
c122dd4c 121 @itemx /etc/termcap
122 Terminal capability databases
123
124-@item /etc/utmp
125+@item /var/run/utmp
126 Login records
127
128 @item @code{$LOCKPRG}
7be0e00f 129@@ -5100,10 +5096,10 @@
c122dd4c 130 in order to be able to
131 correctly change the owner of the tty device file for each window.
132 Special permission may also be required to write the file
133-@file{/etc/utmp}.
134+@file{/var/run/utmp}.
135
136 @item
137-Entries in @file{/etc/utmp} are not removed when @code{screen} is killed
138+Entries in @file{/var/run/utmp} are not removed when @code{screen} is killed
139 with SIGKILL. This will cause some programs (like "w" or "rwho") to
140 advertise that a user is logged on who really isn't.
141
7be0e00f 142@@ -5184,8 +5180,7 @@
c122dd4c 143 @cindex socket directory
144
145 The socket directory defaults either to @file{$HOME/.screen} or simply to
146-@file{/tmp/screens} or preferably to @file{/usr/local/screens} chosen at
147-compile-time. If @code{screen} is installed
8ffc42de 148+@file{/tmp/screens} chosen at compile-time. If @code{screen} is installed
c122dd4c 149 setuid root, then the administrator should compile screen with an
150 adequate (not NFS mounted) @code{SOCKDIR}. If @code{screen} is not
151 running setuid-root, the user can specify any mode 700 directory in the
This page took 0.1557 seconds and 4 git commands to generate.