auth2-pubkey.c - change an error message
    Petr Lautrbach 
    plautrba at redhat.com
       
    Fri Feb 15 04:00:12 EST 2013
    
    
  
Hi.
The error message 'AuthorizedKeyCommandUser \"%s\" not found' in user_key_command_allowed2()
should inform about non-existing username, not about command.
--- auth2-pubkey.c	14 Nov 2012 08:04:02 -0000	1.36
+++ auth2-pubkey.c	14 Feb 2013 16:50:04 -0000
@@ -480,7 +480,7 @@
  	pw = getpwnam(username);
  	if (pw == NULL) {
  		error("AuthorizedKeyCommandUser \"%s\" not found: %s",
-		    options.authorized_keys_command, strerror(errno));
+		    username, strerror(errno));
  		free(username);
  		return 0;
  	}
Petr
    
    
More information about the openssh-unix-dev
mailing list