Remove patch "01-no-root-login"
This commit is contained in:
parent
22b3c2718e
commit
6c3fd5960e
4 changed files with 0 additions and 15 deletions
|
@ -65,7 +65,6 @@ System configuration
|
||||||
The following information can be helpful when you connect to BarnacleOS router
|
The following information can be helpful when you connect to BarnacleOS router
|
||||||
and configure it:
|
and configure it:
|
||||||
|
|
||||||
* Root login via SSH is disabled
|
|
||||||
* Root password is disabled
|
* Root password is disabled
|
||||||
* User `user` has access via SSH with password `password`
|
* User `user` has access via SSH with password `password`
|
||||||
* SSH host keys are generated at first startup,
|
* SSH host keys are generated at first startup,
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -237,8 +237,6 @@ on_chroot << EOF
|
||||||
apt-get install -y ssh
|
apt-get install -y ssh
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
apply_patch '01-no-root-login.diff'
|
|
||||||
|
|
||||||
rm -fv "$ROOTFS_DIR/etc/ssh/ssh_host_key"
|
rm -fv "$ROOTFS_DIR/etc/ssh/ssh_host_key"
|
||||||
rm -fv "$ROOTFS_DIR/etc/ssh/ssh_host_key.pub"
|
rm -fv "$ROOTFS_DIR/etc/ssh/ssh_host_key.pub"
|
||||||
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- rootfs.orig/etc/ssh/sshd_config
|
|
||||||
+++ rootfs/etc/ssh/sshd_config
|
|
||||||
@@ -25,7 +25,7 @@ LogLevel INFO
|
|
||||||
|
|
||||||
# Authentication:
|
|
||||||
LoginGraceTime 120
|
|
||||||
-PermitRootLogin without-password
|
|
||||||
+PermitRootLogin no
|
|
||||||
StrictModes yes
|
|
||||||
|
|
||||||
RSAAuthentication yes
|
|
|
@ -1,4 +1,3 @@
|
||||||
01-no-root-login.diff
|
|
||||||
02-hosts.diff
|
02-hosts.diff
|
||||||
03-passwordless-sudo.diff
|
03-passwordless-sudo.diff
|
||||||
04-bashrc.diff
|
04-bashrc.diff
|
||||||
|
|
Reference in a new issue