LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-02-2008, 03:43 AM   #1
phparion
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Rep: Reputation: 0
Add a new user who can access all sites


Hi

i have a server which is setup with WHM and cpanel.

in /home/ all users exist where each user has a public_html for websites.

I want to add a user who can access all sites on FTP. For this I did the following,

1 - adduser username
2 - change the user group to wheel group by editing /etc/group file
3 - edit the /etc/passwd and .bash_profile file of the user to point to /home/ as home for the user

4 - I also chmod 775 /home/

now when I login with this user on FTP it still shows me /home/username/ and not /home/ with all sites.

Can anybody guide me please how can I achieve this?

thank you very much
 
Old 06-02-2008, 06:00 AM   #2
garyalex
Member
 
Registered: Jun 2006
Location: Johannesburg, South Africa
Distribution: Ubuntu, CentOS, Debian
Posts: 47

Rep: Reputation: 15
The user should have permission to navigate to all sites in the /home directory however with the permissions you have given. When logging in the FTP client should go to the home directory of the user as specified in the /etc/passwd file. There could be a setting in your FTP client to use a different home directory and you could set that there...
 
Old 06-03-2008, 12:21 AM   #3
phparion
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Hi

how can i set this ftp settings in my ftp client?

thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add multiple lines to sites-available automatic sinister1 Linux - Server 1 01-09-2008 06:46 AM
How to add user with root privileges and SSH access adamrad Linux - General 8 10-31-2006 03:53 PM
PFTP help (how to add sites and more) Jimichel Linux - Software 1 04-16-2005 09:41 AM
Free Blogging sites that don't add their own URL microsoft/linux General 9 02-18-2005 04:00 AM
Can Access Sites with root but not user account Obelus Linux - Networking 4 12-21-2003 04:28 PM


All times are GMT -5. The time now is 02:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration