fix yppasswd support on linux
This commit is contained in:
parent
08b2fa0f6f
commit
d4bc81dfff
|
@ -195,13 +195,14 @@ Please choose a password with at least 2 character classes.")
|
|||
"Please retype new password:"
|
||||
"Sorry."
|
||||
"Mismatch - password unchanged."
|
||||
#f ;; TODO??
|
||||
)))))
|
||||
(rx "The NIS password has been changed on"))))))
|
||||
|
||||
(define (verify-yp-password password)
|
||||
(if (password-stored-in-yp-passwd? (user-login-name))
|
||||
(let ((user-has-yp-password?
|
||||
(password-stored-in-yp-passwd? (user-login-name))))
|
||||
(if user-has-yp-password?
|
||||
(verify-password yppasswd password)
|
||||
#t))
|
||||
#t)))
|
||||
|
||||
(define (change-yp-password old-pw new-pw)
|
||||
(if (password-stored-in-yp-passwd? (user-login-name))
|
||||
|
|
Loading…
Reference in New Issue