aboutsummaryrefslogtreecommitdiffstats
path: root/unix/vncpasswd
Commit message (Collapse)AuthorAgeFilesLines
* Improve error messages for base directory creationPierre Ossman2024-08-291-2/+3
|
* Handle existing config directory in vncpasswdPierre Ossman2024-08-151-2/+4
| | | | This fixes commit a79c33d.
* Let pwquality check minimum lengthPierre Ossman2024-08-151-7/+10
| | | | | This is a policy decision, so let's not enforce something on our own if there is a system policy to rely on.
* Merge branch 'master' of https://github.com/prownd/tigervncPierre Ossman2024-08-152-0/+51
|\
| * Limit the maximum length of a password to 8 charactershanjinpeng2024-08-141-0/+5
| | | | | | | | | | Password should not be greater than 8 characters. Because only 8 valid characters are used.
| * vncpasswd add password complexity rule check to enhance securityhanjinpeng2024-08-142-0/+46
| | | | | | | | | | Use the library pwquality to check password complexity and improve security. Additionally, optional enable support is also set in CMake.
* | Use nullptr in all C++ codePierre Ossman2024-06-241-6/+6
|/ | | | | It's more readable than 0, and a bit safer than NULL, so let's try to follow modern norms.
* Create common recursive mkdir()Pierre Ossman2024-05-301-9/+4
| | | | | | | Avoid duplicating this complexity in too many places. At the same time make the interface more identical to regular mkdir(), for familiarity.
* Implement XDG Base Directory paths, deprecate ~/.vnc902024-04-262-7/+19
|
* Begin work on XDGBDS compliance and overrideable configs902024-03-151-5/+5
|
* Prefer target_include_directories()Pierre Ossman2023-03-311-2/+1
| | | | | It is more specific, and it properly sets up propagation when include directories also need to be used further down a dependency chain.
* Use std::string instead of CharArrayPierre Ossman2023-02-041-31/+26
| | | | | Let's use a more common type instead of something homegrown. Should be more familiar to new developers.
* Use fixed size character bufferPierre Ossman2023-02-041-11/+12
| | | | | We know the needed space here, so let's keep it simple with a constant size string buffer.
* Remove trailing slash from getvnchomedir()Pierre Ossman2023-02-041-2/+2
| | | | | It should return a path to the directory itself, just like its sister function getuserhomedir().
* Namespace directory functionsPierre Ossman2023-02-041-1/+1
| | | | All library functions should be in a proper namespace.
* Return static char buffer from some methodsPierre Ossman2023-02-041-3/+2
| | | | | | | | | This mimics how some system functions (like inet_ntop()) work, and avoids complexity around ownership of the returned string buffer. The downside is that the string must be consumed directly as it will be overwritten on the next call, but that is not an issue with the current usage.
* Be consistent in including config.hPierre Ossman2021-12-301-0/+5
| | | | | | The generally recommended way is to include it from source files, not headers. We had a mix of both. Let's try to be consistent and follow the recommended way.
* Let user know that a view-only password is not usedJan Grulich2021-05-251-0/+2
|
* Use standard install dir variable namesPierre Ossman2020-03-121-2/+2
| | | | | This makes our builds directly compatible with most distributions without packagers/users having to specify extra flags.
* Start sessions via PAMPierre Ossman2020-03-121-1/+1
| | | | | | | | | This sets up a more correct session as there are key tasks that need to be performed by PAM. E.g. systemd will allocate cgroups and start base services. In order to easily handle this as a system service the mapping of displays is now done via a configuration file.
* Merge branch 'covscan' of https://github.com/grulja/tigervncPierre Ossman2018-11-211-1/+14
|\
| * Fix memory leaksJan Grulich2018-11-201-1/+14
| |
* | Change to https for tigervnc URLPierre Ossman2018-10-191-1/+1
|/ | | | Our main web site now supports https, so update all references.
* Add a basic gitignoreLauri Kasanen2018-07-111-0/+1
|
* Handle view only password in vncpasswd filter modePierre Ossman2018-05-072-5/+18
|
* vncpasswd: Ask for read only password.Michal Srb2014-11-101-24/+44
| | | | | Ask for optional second password that is used for read only access. Save it after the main password. This is same format as tightvnc uses.
* Remove the date from man pagesPierre Ossman2014-09-171-1/+1
| | | | It's not something we're keeping up to date anyway.
* Clean up the authors section of the man pagesPierre Ossman2014-09-171-7/+4
|
* librfb needs librdr so make sure it always gets pulled inPierre Ossman2014-07-041-1/+1
|
* Consolidate the installation paths and make sure we have decent defaults.Pierre Ossman2012-03-271-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4873 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Rename man pages to .1 when installingDRC2011-06-251-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4553 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Install man pages during 'make install' on Unix systemsDRC2011-06-251-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4552 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused autotools build systemDRC2011-06-241-13/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4540 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Get the Unix stuff to build using CMake. Based on a patch by Henrik Andersson.Pierre Ossman2011-03-081-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4336 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Rename function "gethomedir" to "getvnchomedir" and rewrite it inAdam Tkac2011-02-071-6/+5
| | | | | | | | | platform-intependent manner. Thanks to Guillaume Destuynder. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4252 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Use gethomedir() function in vncpasswd and vncviewer.Adam Tkac2010-10-292-6/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4177 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reuse the getpasswd() function in filter mode so that the new line is ↵DRC2010-07-091-9/+10
| | | | | | stripped from the input git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4086 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add a filter mode option to vncpasswdDRC2010-07-092-13/+46
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4085 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix VPATH and out-of-tree buildsDRC2010-02-141-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3984 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make unix/ subtree compilable.Adam Tkac2009-09-041-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/unified_buildsys@3893 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert r3657 (import of autogenerated) files.Adam Tkac2009-03-131-566/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3675 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Import autogenerated files for unix/ and common/ subdirs to make sourceAdam Tkac2009-03-111-0/+566
| | | | | | | | compilable without GNU autotools. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3657 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Rebrand the source as TigerVNC. It is my hope that this patch isPeter Åstrand2009-02-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | minimal but still complete. The rebranding was done using a script: find trunk -name .svn -prune -o -type f -exec rep.sh \{\} \; pushd trunk svn revert doc/TODO doc/registered-codes.txt doc/ft-protocol-problems.txt doc/rfbtight.tex perl -pi -e 's|tightvnc|tigervnc|g' unix/configure.ac win/configure.ac unix/README With rep.sh looking like: perl -pi -e 's|TightVNC|TigerVNC|g' "$@" perl -pi -e 's|www\.tightvnc\.com/bugs\.html|www\.tigervnc\.org|g' "$@" perl -pi -e 's|www\.tightvnc\.com|www\.tigervnc\.org|g' "$@" perl -pi -e 's|devteam\@tightvnc\.com|tigervnc-devel\@lists\.sourceforge\.net|g' "$@" perl -pi -e 's|TigerVNC Team|TightVNC Team|g' "$@" perl -pi -e 's|TigerVNC Group|TightVNC Group|g' "$@" perl -pi -e 's|TigerVNC protocol|TightVNC protocol|g' "$@" perl -pi -e 's|TigerVNC-specific|TightVNC-specific|g' "$@" perl -pi -e 's|Vendor signatures: standard VNC/RealVNC, TridiaVNC, and TigerVNC|Vendor signatures: standard VNC/RealVNC, TridiaVNC, and TightVNC|g' "$@" perl -pi -e 's|TigerVNC vendor|TightVNC vendor|g' "$@" perl -pi -e 's|TigerVNC extension|TightVNC extension|g' "$@" perl -pi -e 's|protocolTigerVNC|protocolTightVNC|g' "$@" perl -pi -e 's|TigerVNC additions were|TightVNC additions were|g' "$@" perl -pi -e 's|TigerVNC 1\.2|TightVNC 1\.2|g' "$@" perl -pi -e 's|TigerVNC authentication type|TightVNC authentication type|g' "$@" git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3621 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Refactoring] Improved rdr::Exception constructor. It now accepts variableAdam Tkac2008-11-141-1/+1
| | | | | | | | | number of arguments. [Bugfix] Minor compilation fixes (missing #includes) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3168 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Include man files and more jpeg libraries in tarballAdam Tkac2008-10-221-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3042 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Install *man files and vncserver script in Makefile.amsAdam Tkac2008-09-291-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2831 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - generate Makefile.in in unix/* subtree from Makefile.amAdam Tkac2008-04-172-18/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2490 3789f03b-4d11-0410-bbf8-ca57d06f2519
* After discussion with Constantin reverted 2433, 2434, 2436, 2437 and 2438Adam Tkac2008-03-222-7/+18
| | | | | | | | (build automation and i18n changes). Latest server changes (2439 and 2440) are OK. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2442 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - use Makefile.am and configure.acAdam Tkac2008-03-202-18/+7
| | | | | | | | - removed unwanted files - internationalization and jpeg library doesn't work yet git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2433 3789f03b-4d11-0410-bbf8-ca57d06f2519
* A grammar fix in man pages.Constantin Kaplinsky2006-06-021-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@620 3789f03b-4d11-0410-bbf8-ca57d06f2519