Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im new to linux. Im using fedora core 3.
Im trying to get a ftp server up. Ive installed
vsftpd and the service is running, i can even log on my
server annon.
I want to edit the vsftpd.conf file so i can
setup my server but the vsftpd.conf file wont let me edit
or modify, or even view. say i dont have the permissions for this.
does this make sense for anyone? trying to edit the one in
/ect/vsftpd/vsftpd.conf.
yup that was it thanks. logged in under the root account. thought i could
just use the root password authorization under a non root account. guess not hehe.
@carilmu, first off, it's unpolite to take over someone else's thread. Consult the forum rules for that one.
Nevertheless, if you are root, then you have access to all files on the filesystem, regardless of the permissions.
For clues on how to use chmod, consult it's man page.
You can alter permissions either numerically or via characters.
ie
chmod 644 some_file (makes file read-write for owner, read-only for anyone else)
chmod u+rw some_file (gives the owner read-write permission)
Be careful using chmod however. File permissions are a very important part of your system's security.
Post back if you have any trouble.
You need to be either root or the file's owner to be able to change the file permissions for a certain file.
@Malkaven: you can impersonate the root user while you're logged in as some non-root user.
The commands "su" (switch user) and "sudo" (impersonate root for execution of certain commands) can help you with that. After an "su", type "exit" to revert back to previous user. Of course, you'll need the passwords for all users you want to impersonate.
No problem, carilmu. Just remember to create your own thread if you need help.
In short:
-make a copy of /etc/vsftpd.conf as backup
-then edit the settings
-finally, restart vsftpd so it reads the configuration changes.
Something like
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.