From b6b26120f58e4d0b4bb884b44c7cc867cd90c8a0 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 1 Apr 2022 18:19:47 -0700 Subject: connection chain specs.: consistently use :USER for the target user Signed-off-by: Sean Whitton --- src/connection/as.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/connection/as.lisp') diff --git a/src/connection/as.lisp b/src/connection/as.lisp index 0a15cf8..a78f13f 100644 --- a/src/connection/as.lisp +++ b/src/connection/as.lisp @@ -23,7 +23,7 @@ (defun can-setuid () (zerop (nix:geteuid))) -(defmethod establish-connection ((type (eql :as)) remaining &key to) +(defmethod establish-connection ((type (eql :as)) remaining &key user) "Establish a :SETUID or :SU connection to another user account, depending on whether it is possible to establish a :SETUID connection. @@ -32,4 +32,4 @@ Note that both these connection types require root." ;; portable. (establish-connection (if (and (lisp-connection-p) (can-setuid)) :setuid :su) - remaining :to to)) + remaining :user user)) -- cgit v1.2.3