[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/244: services: xvnc: Do not create a regular HOME directory for xvnc
From: |
guix-commits |
Subject: |
30/244: services: xvnc: Do not create a regular HOME directory for xvnc user. |
Date: |
Wed, 12 Apr 2023 08:47:15 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit f3c866fade49f3d57744862a1396c0783dc7a640
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Apr 2 23:23:26 2023 -0400
services: xvnc: Do not create a regular HOME directory for xvnc user.
* gnu/services/vnc.scm (%xvnc-accounts)
[home-directory]: Define as /var/empty.
[shell]: Set to nologin, for good measures.
---
gnu/services/vnc.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/services/vnc.scm b/gnu/services/vnc.scm
index 15c3c14fee..d57cf51af2 100644
--- a/gnu/services/vnc.scm
+++ b/gnu/services/vnc.scm
@@ -17,6 +17,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu services vnc)
+ #:use-module (gnu packages admin)
#:use-module (gnu packages vnc)
#:use-module ((gnu services) #:hide (delete))
#:use-module (gnu system shadow)
@@ -191,7 +192,9 @@ CONFIG, a <xvnc-configuration> object."
(name "xvnc")
(group "xvnc")
(system? #t)
- (comment "User for Xvnc server"))))
+ (comment "User for Xvnc server")
+ (home-directory "/var/empty")
+ (shell (file-append shadow "/sbin/nologin")))))
(define (xvnc-shepherd-service config)
"Return a <shepherd-service> for Xvnc with CONFIG."
- 15/244: gnu: Add ruby-enumerable-statistics., (continued)
- 15/244: gnu: Add ruby-enumerable-statistics., guix-commits, 2023/04/12
- 10/244: services: replace bare serializers with (serializer ...), guix-commits, 2023/04/12
- 12/244: services: mpd: Use proper records for user and group fields., guix-commits, 2023/04/12
- 14/244: gnu: Add mairix., guix-commits, 2023/04/12
- 17/244: gnu: Add youplot., guix-commits, 2023/04/12
- 19/244: gnu: ytfzf: Replace YOUTUBE-DL by YT-DLP., guix-commits, 2023/04/12
- 20/244: gnu: Add font-chivo., guix-commits, 2023/04/12
- 23/244: gnu: python-hy: Update to 0.26.0., guix-commits, 2023/04/12
- 24/244: gnu: python-hy: Report version., guix-commits, 2023/04/12
- 31/244: gnu: libjxr: Fix cross-compilation., guix-commits, 2023/04/12
- 30/244: services: xvnc: Do not create a regular HOME directory for xvnc user.,
guix-commits <=
- 37/244: gnu: bambam: Update to 1.2.1., guix-commits, 2023/04/12
- 34/244: gnu: Add dool., guix-commits, 2023/04/12
- 33/244: gnu: a2ps: Improve package style., guix-commits, 2023/04/12
- 38/244: gnu: thermald: Update to 2.5.2., guix-commits, 2023/04/12
- 44/244: gnu: emacs-org: Update to 9.6.3., guix-commits, 2023/04/12
- 40/244: gnu: qpwgraph: Update to 0.4.2., guix-commits, 2023/04/12
- 41/244: gnu: uwufetch: Update to 2.1., guix-commits, 2023/04/12
- 22/244: gnu: endless-sky: Update to 0.10.0., guix-commits, 2023/04/12
- 53/244: doc: Add a reference to a page explaining consensus decision making., guix-commits, 2023/04/12
- 36/244: gnu: fheroes2: Update to 1.0.2., guix-commits, 2023/04/12