Function: tramp-parse-passwd-group
tramp-parse-passwd-group is a byte-compiled function defined in
tramp.el.gz.
Signature
(tramp-parse-passwd-group)
Documentation
Return a (user host) tuple allowed to access.
Host is always "localhost".
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-parse-passwd-group ()
"Return a (user host) tuple allowed to access.
Host is always \"localhost\"."
(let (result
(regexp (concat "^\\(" tramp-user-regexp "\\):")))
(when (re-search-forward regexp (point-at-eol) t)
(setq result (list (match-string 1) "localhost")))
(forward-line 1)
result))