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;
}
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
New contributor
add a comment |
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
New contributor
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
add a comment |
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
New contributor
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
rhel home usermod
New contributor
New contributor
New contributor
asked 43 mins ago
Anwesh BudhathokiAnwesh Budhathoki
12
12
New contributor
New contributor
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
add a comment |
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
add a comment |
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.
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
Required, but never shown
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.
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.
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
Required, but never shown
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
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
Required, but never shown
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
Required, but never shown
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
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
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