Home » Questions » Computers [ Ask a new question ]

using SSH to log into a non-root account using root password

using SSH to log into a non-root account using root password

I am trying to log into a server with a particular account. Let's say I don't know the password for that account. Can I do this using ssh? I am wondering if it is possible to do it in one command, instead of logging in as root and running su.

Asked by: Guest | Views: 333
Total answers/comments: 1
Guest [Entry]

You could probably accomplish this if you were willing to write a PAM module which caused entering the root password to make authentication succeed. Not going to be easy, but it would do what you want...