Function: tramp-parse-etc-group
tramp-parse-etc-group is a byte-compiled function defined in
tramp.el.gz.
Signature
(tramp-parse-etc-group FILENAME)
Documentation
Return a list of (group host) tuples allowed to access.
Host is always "localhost".
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-parse-etc-group (filename)
"Return a list of (group host) tuples allowed to access.
Host is always \"localhost\"."
(with-tramp-connection-property nil "parse-group"
(if (executable-find "getent")
(with-temp-buffer
(when (zerop (tramp-call-process nil "getent" nil t nil "group"))
(goto-char (point-min))
(cl-loop while (not (eobp)) collect
(tramp-parse-etc-group-group))))
(tramp-parse-file filename #'tramp-parse-etc-group-group))))