Changing home directory with -m not workingProblem changing the /home directory to another locationSSH not...

Is it possible to have battery technology that can't be duplicated?

Why is my Taiyaki (Cake that looks like a fish) too hard and dry?

Does scarcity apply only to commodities?

Do Veracrypt encrypted volumes have any kind of brute force protection?

Can an open source licence be revoked if it violates employer's IP?

In Pandemic, why take the extra step of eradicating a disease after you've cured it?

Is it a good security practice to force employees hide their employer to avoid being targeted?

Is tuition reimbursement a good idea if you have to stay with the job

ISP is not hashing the password I log in with online. Should I take any action?

If absolute velocity does not exist, how can we say a rocket accelerates in empty space?

Why did the Death Eaters wait to reopen the Chamber of Secrets?

Is time complexity more important than space complexity?

How to import .txt file with missing data?

Must a CPU have a GPU if the motherboard provides a display port (when there isn't any separate video card)?

Idiom for 'person who gets violent when drunk"

When editor does not respond to the request for withdrawal

usage of mir gefallen

Fastest way from 8 to 7

What does BREAD stand for while drafting?

Dedicated bike GPS computer over smartphone

Are athlete's college degrees discounted by employers and graduate school admissions?

Print "N NE E SE S SW W NW"

Remove the small black rectangle that appears at the end of environment

Are skill challenges an official option or homebrewed?



Changing home directory with -m not working


Problem changing the /home directory to another locationSSH not landing in the home directoryOpenELEC, non-root user, home directory, SSHApproaches to prevent user from deleting home folderSSH public keys not working; my home directory is encryptedchanging $HOME directory nameIssued chmod 666 * in home directory, permissions problems resulted with all filesMissing or disappear home directoryGrant access to a different user's home directorychanging user home directory has no effect






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















This is the problem I went through



I created a user1 and added password to it. I created a new folders in /home/homedir/user1 and created a file test.txt in user1's home directory. I changed the user and group owner of the file and folder to avoid permission problem later. Then I changed the home directory using -m to /home/homedir/user1 but the file test.txt I created earlier wasnot moved.










share|improve this question







New contributor



Anwesh Budhathoki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Please don't post screenshots of text. Copy the text here and use code formatting instead: unix.stackexchange.com/editing-help#code

    – muru
    36 mins ago


















0















This is the problem I went through



I created a user1 and added password to it. I created a new folders in /home/homedir/user1 and created a file test.txt in user1's home directory. I changed the user and group owner of the file and folder to avoid permission problem later. Then I changed the home directory using -m to /home/homedir/user1 but the file test.txt I created earlier wasnot moved.










share|improve this question







New contributor



Anwesh Budhathoki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Please don't post screenshots of text. Copy the text here and use code formatting instead: unix.stackexchange.com/editing-help#code

    – muru
    36 mins ago














0












0








0








This is the problem I went through



I created a user1 and added password to it. I created a new folders in /home/homedir/user1 and created a file test.txt in user1's home directory. I changed the user and group owner of the file and folder to avoid permission problem later. Then I changed the home directory using -m to /home/homedir/user1 but the file test.txt I created earlier wasnot moved.










share|improve this question







New contributor



Anwesh Budhathoki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











This is the problem I went through



I created a user1 and added password to it. I created a new folders in /home/homedir/user1 and created a file test.txt in user1's home directory. I changed the user and group owner of the file and folder to avoid permission problem later. Then I changed the home directory using -m to /home/homedir/user1 but the file test.txt I created earlier wasnot moved.







rhel home usermod






share|improve this question







New contributor



Anwesh Budhathoki 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



Anwesh Budhathoki 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






New contributor



Anwesh Budhathoki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 43 mins ago









Anwesh BudhathokiAnwesh Budhathoki

12




12




New contributor



Anwesh Budhathoki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Anwesh Budhathoki is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • Please don't post screenshots of text. Copy the text here and use code formatting instead: unix.stackexchange.com/editing-help#code

    – muru
    36 mins ago



















  • Please don't post screenshots of text. Copy the text here and use code formatting instead: unix.stackexchange.com/editing-help#code

    – muru
    36 mins ago

















Please don't post screenshots of text. Copy the text here and use code formatting instead: unix.stackexchange.com/editing-help#code

– muru
36 mins ago





Please don't post screenshots of text. Copy the text here and use code formatting instead: unix.stackexchange.com/editing-help#code

– muru
36 mins ago










0






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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Anwesh Budhathoki 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%2f524341%2fchanging-home-directory-with-m-not-working%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Anwesh Budhathoki is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Anwesh Budhathoki is a new contributor. Be nice, and check out our Code of Conduct.













Anwesh Budhathoki is a new contributor. Be nice, and check out our Code of Conduct.












Anwesh Budhathoki is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f524341%2fchanging-home-directory-with-m-not-working%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...