mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Restore advice about making pterm set[ug]id.
cmake doesn't have convincing facilities for doing this in its install step, so the new advice is to do it manually (we've provided no equivalent to the autotools --enable-setuid or --enable-setgid options, nor UTMP_USER/GROUP).
This commit is contained in:
parent
d163b37caf
commit
e45c6b76da
10
README
10
README
@ -12,6 +12,16 @@ Then, to install in the simplest way on Linux or Mac:
|
||||
|
||||
cmake --build . --target install
|
||||
|
||||
On Unix, pterm would like to be setuid or setgid, as appropriate, to
|
||||
permit it to write records of user logins to /var/run/utmp and
|
||||
/var/log/wtmp. (Of course it will not use this privilege for
|
||||
anything else, and in particular it will drop all privileges before
|
||||
starting up complex subsystems like GTK.) The cmake install step
|
||||
doesn't attempt to add these privileges, so if you want user login
|
||||
recording to work, you should manually ch{own,grp} and chmod the
|
||||
pterm binary yourself after installation. If you don't do this,
|
||||
pterm will still work, but not update the user login databases.
|
||||
|
||||
Documentation (in various formats including Windows Help and Unix
|
||||
`man' pages) is built from the Halibut (`.but') files in the `doc'
|
||||
subdirectory using `doc/Makefile'. If you aren't using one of our
|
||||
|
Loading…
Reference in New Issue
Block a user