Changing home dir path?
I have a special account which virtual users on my ftp server uses. I have just reorganzied my dir structure a need to change the home dir of this account from "/export" to "/export/ftp1" since I can't seem to chroot this account in any other dir than its homedir.
How to I do this with a simple command so I don't have to delete and recreate the account? |
vi /etc/passwd
Cheers, Tink |
Forgot to mention.. In /etc/passwd this account is pointed to /dev/null, but in practise it's chrooted to /export... Any ideas? Or do I need to recreate the account with a new home path?
|
What do you mean "it's re-directed to /dev/null"?
Please :} grep <username> /etc/passwd This kind of contradicts the your first post, you know... Cheers, Tink |
I'm real bad at explaining techie stuff in english :) Never mind though, I solved it, your first post gave me a hint as to how to do it :)
|
All times are GMT -5. The time now is 04:10 AM. |