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

The name of the pictureThe name of the pictureThe name of the pictureClash 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?










share|improve this question









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.



















  • @Kusalananda su - either didn't help. Failed with same message
    – Axbor Axrorov
    27 mins ago















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?










share|improve this question









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.



















  • @Kusalananda su - either didn't help. Failed with same message
    – Axbor Axrorov
    27 mins ago













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?










share|improve this question









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






share|improve this question









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.











share|improve this question









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.









share|improve this question




share|improve this question








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.











  • @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
















@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
















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Axbor Axrorov is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















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



































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.









 

draft saved


draft discarded


















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.













 


draft saved


draft discarded














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













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)