Jump to content


qnopli

Member Since 18 Nov 2013
Offline Last Active 04 Oct 2016 21:38
-----

Topics I've Started

[Duo2] /etc/passwd error

19 May 2016 - 20:26

Hi,

 

after flashing software on Duo2 today, I wasn't able to login via Telnet. 

╭─root@playground-vm  ~
╰─$ telnet 192.168.75.99
Trying 192.168.75.99...
Connected to 192.168.75.99.
Escape character is '^]'.

openpli 4 vuduo2


vuduo2 login: root
Cannot execute bash: No such file or directory
Connection closed by foreign host.

Via Samba I was able to search for the cause of this problem and in /etc/passwd I saw the entry for root was this

root:x:0:0:root:/home/root:bash

I corrected the root entry to

root:x:0:0:root:/home/root:/bin/bash 

and I was than able to login again.

 

Is this an error in the current image?