usermod fails with "user is currently logged in"
Today, I needed to move a user's home directory from "/home" to "/export" on CentOS 6.4. It should have been a piece cake with the following command:
However, usermod produced the following error message:
Using the command 'w' showed that the user xyz was not logged in. I was forced to reboot the machine before I was able to perform that task. Anyone know what causes this problem?
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
104 Users Online
Copyright © 2004 - 2020. All Rights Reserved.