What is the way to switch into a jailed chroot user

I do have a user like this:

I’m logged in via ssh as root.
But I’m not able to switch into this user. If I do su <username> and enter the password, I’m still root.

Any hint, if ( and how) I can switch into this user on bash?

@suther,

Send screenshot of prompt before and after attempting the switch.

@tpnsolutions
su_dontwork

Additional Info

I’ve tested it now with another user, where su work, and figured out following:

  • the user where it work, as Account-Type email, ftp & ssh
  • the user which not work has “email-only” account.

I tried to get such an “SSH-User” added to the second vm, but without success. The Users you can add via VirtualServer > Edit Users are only FTP and Email-Users.
So how to add an ssh-user to an existing Virtual Server. Is that possible with virtualmin?

BTW: In Edit Virtual Server, checkbox for Webmin login enabled is checked.

@tpnsolutions any idea?

in /var/log/auth.log I’ve found this error for the user that didn’t work

If I do change the user-account shell via webmin to /bin/bash I can su into this account again.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.