a new account to be created on red hat 9 that would enable me to browse all folders on the server via FTP.

Posted on 2006-04-28
Last Modified: 2013-12-06
Hello, I have a Red Hat 9 server which is a web server for several different customers.
I can FTP into this server with an account somebody set me up with and I can browse through many of the folders on the server but not all of them.
I'd like to create a new account (not root, something else.) and give this user read & write access to ALL of the folders on the server through FTP. I should not change any folder ownerships though otherwise other people's access may be limited. how would I do this?
Question by:eggster34
    LVL 16

    Accepted Solution


    I would consider this a real security issue! and you would only be able to accomplish this by setting the users
    uid and gid to zero which, would make that user equivilant to root! the following would accomplish this;

    as root type:

    useradd newuser
    passwd newuser

    enter their new password then edit the /etc/passwd you should see something similar to:


    Where the 500:500 is replace it with zeros so it will look like:


    Good luck and remember this is a very big security issue

    Author Comment

    just out of curiosity, what is the x in here? newuser:x:0:0:newuser ?
    LVL 51

    Expert Comment

    > ..  what is the x in here?
    it tells you (and the system:) that the password is stored in /etc/shadow

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Suggested Solutions

    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now