I have followed following steps to implement, ftp upload by test1 user.
Code:
1. Add group ftp-users
# /usr/sbin/groupadd ftp-users
2. User test1 has been added to the group of ftp-users with /home/ftp-docs as home directory
# /usr/sbin/usermod -g ftp-users -d /home/ftp-docs test1
3. Ownership and permission of /home/ftp-docs has been changed to provide read/write access to user test1 and group ftp-users
# chown test1.ftp-users /home/ftp-docs
# chmod 770 /home/ftp-docs
But My intention is for the user who login with test1 user privileges, he should not be able to browse any other directories say /, /var /etc etc. Also he should not be able to change to any other directory. How can I accomplish this ?
looking to implement a website where business partners can download/upload documents. The files and the "partner areas" should be password protected.Are there open source projects / Ubuntu packages readily available for implementing this type of web-based file sharing service
have setup a LAMP server with ubuntu 10.04 server edition x86 for my study in VMware Workstation 7.1 For a assignment I had to make a php script that would load a file up to the server and set the name in a mysql database. According to the book the server should set the image in a cryptic folder in the /tmp/ folder.
This isn't working and i also try'd locate and find to find the image i uploaded. I checked the php.ini and file uploads were on but no folder so i set that one to /tmp/ but still no images. Can anyone help me with enabling this function?
How would I ensure that whenever any user changes the password it should meet following. 1)It should be more than 7 Characters. 2)Atleast one Upper case character,digit and special character present. 3)Password is not same as username or dictionary word . 4)User should get email after changing his password(I have already setup mail account and tested the setup).
Code: Distribution Detail # lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: EnterpriseEnterpriseServer Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage) Release: 5.2 Codename: Carthage # uname -a Linux OFSMUW-VMGR-51 2.6.18-92.el5PAE #1 SMP Fri May 23 22:26:05 EDT 2008 i686 i686 i386 GNU/Linux
The only reason why I don't use Linux (even though I prefer Linux over Windows, and can do everything faster and more efficiently) is because each time I try to learn about dm-crypt I give up.
Can someone point me in the right direction for full OTFE on Linux (like TrueCrypt)?
Am configured SVN on Ubuntu 10.04 ,It's Working fine ;svn access method is svn://ipaddress .In this method am not encrypting the password ,Currently my passwd (/homesvnMyProject/conf )file like that [users]test = testNow i want to Implement the password Encryption for any users, without implementing svn+ssh:// method
how to implement proxy server with firewall and the client users should be authinticated by asking username & password while opening their web browsers and finally i want to see the websites visted list of all the client computers On cent os 5.3
i am new to ns2, i want to implement leach algorithm(MIT uAMPS) but i am unable to know how to install ns-2.1b5 version for it.but i successfully installed ns2.29 in fedora14.
otherwise please intimate what linux flavour will be suitable for ns-2.1b5
I have CENTOS server with suPHP installed. The user (UID) and group (GID) are different for PHP files. But when I upload any file using FTP, it makes user:user and suphp fails to parse it. I then change the ownership (using ssh) as user:group for the php file and it works.
I need to know about one thing . In ftp in linux , If I want to do only upload a file into a folder but not download, then is it possible to do ? I just only upload or download a file onto or from a folder ....
I am having problems uploading my pictures into myspace. When I log into my myspace account, and I choose to upload photos and I click browse, it links me to my desktop but when I open up my photo album, all I get is an empty box. But yet I can access my pictures from my desktop direct. Does anyone have any solutions ?? I am Using Ubuntu 9.10 Karmic Koala.
How do I download (upload) engrave-11.py from "Simple G-Code Generators Written in Python"? One of my home workshop project is a small engraver using a small micrometer linear table and three small steppers. It works fine with Stickfont - a free download - but I need something more sophisticated such as Engrave-11.py. When I follow the instructions from the Wiki I finish up with what I believe to be the source code and no means of generating an executable file.
why I cannot upload local files to subfolder in my home folder on FTP server? Say, i wanna upload files to /home/haolh/trial/occ/src/occ, but following error msg were given...
commandput "C:Proj rialoccsrcocc" "occ" error/home/haolh/trial/occ/src/occ: open for write: permission denied
After google this prob, i've tried commands as below but it still failed
I am using Ubuntu 9.10 and I am unable to upload photos into my Myspace Page. I an app on my Myspace Page and I am unable to view my dressing room in my super pets app. I get the same results from my super pets app as I do when I try to upload photos. Although the stuff is there, I get an empty box. What do I need to do to be able to open my photos from my space and actually see my pictures there and not an empty box?? or open my super pets app and see my stuff there and not an empty box ?
vsftpd 2.3.2-3After user uploaded a file it has -rw-------(0600) permissions. Of course user can change permissions manualy to any he likeBut how to set for example 0700 by default?
I want to upload files from my computer to an FTP site and I don't want to upload files that are already on the server. So I need a tool that finds out which local files that are different from the ones on the server, or that don't exists on the server.
Some requirements:
I'm using a cheap provider that does not support rsync or ssh, so I can only use FTP. I generate the files before uploading them, so comparing timestamps is meaningless. I've tried lftp with the mirror command. It's slow (I think it uploads all the files). I upload the files from different computers, so I can't use sitecopy, which uses a local database to keep track of which files are on the server. I'd like to be able to upload all changed files with one command. Preferably no GUI application. And it needs to run in Ubuntu.
I was thinking about creating a tool similar to sitecopy, but which stores checksums of all the files on the FTP server on the server itself. But then I thought that there may already be such a tool.
As soon as I get the hang of remastering, I am planning to remaster my distro (I have MEPIS 8 now, but will switch to either 9 or 11) to do two things: install KDE Trinity (I don't like KDE 4), and remove all extraneous software: games, "toys," and specialized programs that it was peculiar to include on the liveCD in the first place (such as jbidwatcher, a program for monitoring eBay bids). Oh, and I'll try to make it fit into one CD (not one DVD). Since I don't like downloading DVD-sized distros in the first place ( DVDs cost more!), I might download the latest antiX MEPIS and modify it to my liking.
If I successfully remaster a new version of MEPIS to my specifications, I might as well try to share it online in case anyone would want it. Where would I upload a Linux distro to share it?