diff -uNr dropbear-2012.55.orig/options.h dropbear-2012.55/options.h --- dropbear-2012.55.orig/options.h 2012-12-03 11:33:02.582308907 +0100 +++ dropbear-2012.55/options.h 2012-12-03 11:34:24.309329615 +0100 @@ -214,7 +214,7 @@ #define DROPBEAR_RANDOM_DEV "/dev/urandom" /* prngd must be manually set up to produce output */ -/*#define DROPBEAR_PRNGD_SOCKET "/var/run/dropbear-rng"*/ +/*#define DROPBEAR_PRNGD_SOCKET "/run/dropbear-rng"*/ /* Specify the number of clients we will allow to be connected but * not yet authenticated. After this limit, connections are rejected */ @@ -237,7 +237,7 @@ /* The default file to store the daemon's process ID, for shutdown scripts etc. This can be overridden with the -P flag */ #ifndef DROPBEAR_PIDFILE -#define DROPBEAR_PIDFILE "/var/run/dropbear.pid" +#define DROPBEAR_PIDFILE "/run/dropbear.pid" #endif /* The command to invoke for xauth when using X11 forwarding. @@ -250,12 +250,12 @@ * OpenSSH), set the path below. If the path isn't defined, sftp will not * be enabled */ #ifndef SFTPSERVER_PATH -#define SFTPSERVER_PATH "/usr/libexec/sftp-server" +#define SFTPSERVER_PATH "/libexec/sftp-server" #endif /* This is used by the scp binary when used as a client binary. If you're * not using the Dropbear client, you'll need to change it */ -#define _PATH_SSH_PROGRAM "/usr/bin/dbclient" +#define _PATH_SSH_PROGRAM "/bin/dbclient" /* Whether to log commands executed by a client. This only logs the * (single) command sent to the server, not what a user did in a