su - root failed with error âCannot execute username: No such file or directoryâ

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I can't login to root on VPS server. But login to usual user is successful. I've tried to login username and after that change to root by commands su - root and su -. These commands fail after successful password attempt with message "Cannot execute username: No such file or directory" where username my current username.
I think that error come after my try change username login access with chsh command (something like chsh --shell /bin/sh username). There is no sudo access on my user. What can I do solve this problem?
login root vps
New contributor
Axbor Axrorov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
1
down vote
favorite
I can't login to root on VPS server. But login to usual user is successful. I've tried to login username and after that change to root by commands su - root and su -. These commands fail after successful password attempt with message "Cannot execute username: No such file or directory" where username my current username.
I think that error come after my try change username login access with chsh command (something like chsh --shell /bin/sh username). There is no sudo access on my user. What can I do solve this problem?
login root vps
New contributor
Axbor Axrorov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
@Kusalanandasu -either didn't help. Failed with same message
â Axbor Axrorov
27 mins ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I can't login to root on VPS server. But login to usual user is successful. I've tried to login username and after that change to root by commands su - root and su -. These commands fail after successful password attempt with message "Cannot execute username: No such file or directory" where username my current username.
I think that error come after my try change username login access with chsh command (something like chsh --shell /bin/sh username). There is no sudo access on my user. What can I do solve this problem?
login root vps
New contributor
Axbor Axrorov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I can't login to root on VPS server. But login to usual user is successful. I've tried to login username and after that change to root by commands su - root and su -. These commands fail after successful password attempt with message "Cannot execute username: No such file or directory" where username my current username.
I think that error come after my try change username login access with chsh command (something like chsh --shell /bin/sh username). There is no sudo access on my user. What can I do solve this problem?
login root vps
login root vps
New contributor
Axbor Axrorov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Axbor Axrorov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 15 mins ago
New contributor
Axbor Axrorov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 30 mins ago
Axbor Axrorov
1063
1063
New contributor
Axbor Axrorov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Axbor Axrorov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Axbor Axrorov is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
@Kusalanandasu -either didn't help. Failed with same message
â Axbor Axrorov
27 mins ago
add a comment |Â
@Kusalanandasu -either didn't help. Failed with same message
â Axbor Axrorov
27 mins ago
@Kusalananda
su - either didn't help. Failed with same messageâ Axbor Axrorov
27 mins ago
@Kusalananda
su - either didn't help. Failed with same messageâ Axbor Axrorov
27 mins ago
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Axbor Axrorov is a new contributor. Be nice, and check out our Code of Conduct.
Axbor Axrorov is a new contributor. Be nice, and check out our Code of Conduct.
Axbor Axrorov is a new contributor. Be nice, and check out our Code of Conduct.
Axbor Axrorov is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475640%2fsu-root-failed-with-error-cannot-execute-username-no-such-file-or-directory%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
@Kusalananda
su -either didn't help. Failed with same messageâ Axbor Axrorov
27 mins ago