-1

Created a user with no password.

sudo adduser --disabled-password cowrie

I'm currently under this virtual env 'cowrie' but when trying to execute the following command it asks me for the password:

sudo apt-get install authbind

Even though I just hit enter after 3 attempts, it says the password is wrong. This user 'cowrie' doesn't have any password set.screenshot attached

1 Answers1

4

The admin account needs a password to work properly. Go into Recovery Mode and set a password

Setting up passwordless login properly is easy, and has nothing to do with whether or not the account has a password.

HowTos:

user535733
  • 62,253
  • When I re login into my debian machine as root and then switch to user 'cowrie' using 'sudo su - cowrie', it doesn't ask me for a password.

    It appears I just needed to run this command 'sudo apt-get install authbind' under root user not under 'cowrie' virtual environment.

    – Aaron88 Oct 08 '22 at 15:34
  • Oh, this is a Debian system. Those are off-topic. Big differences in precisely the areas you are asking about. – user535733 Oct 08 '22 at 15:35