newb Posted July 10, 2009 Share Posted July 10, 2009 how do i change the root users home directory? Quote Link to comment https://forums.phpfreaks.com/topic/165438-root-home-directory/ Share on other sites More sharing options...
BMurtagh Posted July 10, 2009 Share Posted July 10, 2009 Hi, I'm a bit confused, why would you want to change the root user's home directory? /root is a standard directory in the root directory (as are /bin, /boot, /dev, /etc, /home, /mnt, /sbin and /usr). The root directory is the top level directory on any Unix-like operating system, i.e., the directory that contains all other directories and their subdirectories. /root contains configuration files for the root account, just as each ordinary user's home directory (which is by default a subdirectory of the /home directory) contains configuration and other files for that user. Please provide some more insight so we can help you out Quote Link to comment https://forums.phpfreaks.com/topic/165438-root-home-directory/#findComment-872593 Share on other sites More sharing options...
trq Posted July 10, 2009 Share Posted July 10, 2009 To answer the question. Users (including root's) home directories are stored within the /etc/passwd file. Quote Link to comment https://forums.phpfreaks.com/topic/165438-root-home-directory/#findComment-872666 Share on other sites More sharing options...
newb Posted July 11, 2009 Author Share Posted July 11, 2009 thanks, im changing it for ftp. Quote Link to comment https://forums.phpfreaks.com/topic/165438-root-home-directory/#findComment-873338 Share on other sites More sharing options...
trq Posted July 11, 2009 Share Posted July 11, 2009 I wouldn't be letting root login remotely using any protocol. Quote Link to comment https://forums.phpfreaks.com/topic/165438-root-home-directory/#findComment-873341 Share on other sites More sharing options...
Daniel0 Posted July 11, 2009 Share Posted July 11, 2009 Especially not on an unencrypted FTP connection... Quote Link to comment https://forums.phpfreaks.com/topic/165438-root-home-directory/#findComment-873397 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.