|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Help me how to install Any FTP server installation on RedHat Linux 7.3
Hi,
I installed RedHatLinux 7.3, How can i Install any FTP Server (VsFTP or Wu-Ftp) on my system. I want to allow only one user for Ex: XYZ rest all users should not having access and disble the guest, anonymous users. Also i want to allow the user "XYZ" once he logged in his default home directory sdhould be ex: /var/www/html. Please help me |
|
#2
|
|||
|
|||
|
install eg. wuftpd from your distr cd
1. rpm -i --test wuftp.X.X.X.i386.rpm (whatever name it comes as) 2. if depended on other packages, install them prior to installing wuftp 3. ready to install? issue rpm -ivh wuftp.X.X.X.i386.rpm 4. add user and group XYZ 5. create eg. /ftp/XYZ directory 6. set the ownership of the XYZ subdirectory in /ftp to XYZ user and group 7. change /etc/passwd XYZ entry like this: XYZ:x:506:507:Test user:/ftp/XYZ:/bin/bash (just change the home dir to /ftp/XYZ) 8. add: 'reluser XYZ' entry to your /etc/ftpaccess 9. test access from other host That's it. It works for me this way. |
|
#3
|
|||
|
|||
|
Thanks, Working great.
Can you tell me how can i set the default directory as webserver directory, if i set like this i am not able to access webserver in my browser..?? |
|
#4
|
|||
|
|||
|
Check the permission of the directory where your webserver holds the documents ...
From your request you should put the XYZ user into same group as www server and set html 664 (chmod 664): 1. add XYZ user to www group (whatever group the server's user belongs to) 2. chown -R wwwserver_user:wwwserver_group 3. chmod 664 /var/www/html 4. check the ftp access 5. disable the ftp service to the rest of your users: locate directives deny-uid,deny-gid,allow-uid,allow-gid and put : deny-uid * deny-gid * allow-uid XYZ allow-gid XYZ that should do it |
|
#5
|
|||
|
|||
|
Thanks It's working,
Can U help me how can i configure samba server which files can be accessed from Windows PC's and also i want enable the Tape drive on my linux server with commands... Please help me |
|
#6
|
|||
|
|||
|
Give me and samba some time as I need to refresh my memory.
About the tape: Your kernel must see your tape. Type: dmesg > dmesg.txt, view this dump and locate something like st0: eg. journal-1299: Setting newest_mount_id to 25 Using r5 hash to sort names ReiserFS version 3.6.25 st: Version 20020805, bufsize 32768, wrt 30720, max init. bufs 4, s/g segs 16 Attached scsi tape st0 at scsi2, channel 0, id 4, lun 0 sym53c1010-33-1-<4,*>: FAST-20 WIDE SCSI 40.0 MB/s (50.0 ns, offset 31) hda: attached ide-cdrom driver. hda: ATAPI 48X CD-ROM drive, 128kB Cache Uniform CD-ROM driver Revision: 3.12 see the scsi tape st0. That is your kid. put a tape in and as root issue: mt -f /dev/st0 status (you should receive ![]() montana:/home/zby # mt -f /dev/st0 status drive type = Generic SCSI-2 tape drive status = 637534720 sense key error = 0 residue count = 0 file number = 0 block number = 0 Tape block size 512 bytes. Density code 0x26 (unknown). Soft error count since last status=0 General status bits on (41010000): BOT ONLINE IM_REP_EN mt -f /dev/st0 (rewind/rewoffl/offline) are useful commands to operate your tape. Note: st0 and nst0 stand for rewinding and nonrewinding tape. Rewinding always rewinds itself back at the beginning as ooposed to nonrewinding. There you're on your own and must do it yourself. Storing files/dirs: tar -cf /dev/nst0 --preserve -b 1 /home stores the whole /home dir, preserves the ownership of files with blocksize set to 512 bytes. prior to this it is adviced to: mt -f /dev/st0 setblk 512 I recommend man mt and man tar. Also you may refer to nst0 while it actualy is st0 but not st0 to nst0. |
|
#7
|
|||
|
|||
|
Clock Skew problem on RedHat Linux 7.3
Hi,
i am using 36gb scsi harddrive, 2gb ram and 1600sc dell poweredge server after Redhat Linux 7.3 installation i am not able to install apache or php It's giving Clock skew error, please help me ow can i rectify this problem. |
|
#8
|
|||
|
|||
|
Hi,
Thanx, One small problem with FTP server access. I installed Wu-Ftpd server and created XYZ user and added in webserver group, i am able to access my web server files from windows machine but i am not able to overwrite or delete the files fro Windows machine. How can i set these permissions. please help me... |
|
#9
|
|||
|
|||
|
Accessing the files using what? Samba or ftp?
|
|
#10
|
|||
|
|||
|
ftp
|
|
#11
|
|||
|
|||
|
check the permission of your directory in which your 'to be manipulated files' reside.
(chmod 755 dir) Then, put a file into that dir and do chmod 644 file. ftp in and try deleting this file. You may try ftping a different file thus testing whether the problem is on file or dir or ftp setup level. |
|
#12
|
|||
|
|||
|
i set (chmod 777 dir) still unable to overwriite or delete files on that folder, need full permissions for directory. How can i set.
Let me check whether above is working or not |
|
#13
|
|||
|
|||
|
First time i am able to Upload the files but next i am not able to overwrite or delete the file. the following error message is displayed when i am trying to overwrite the file:
The file transfer failed. Requested action not taken. 553 adjusttopbar.js: Permission denied on server. (Overwrite) How can i change or set the permissions. |
|
#14
|
|||
|
|||
|
You may try to check your /etc/ftpaccess for something like:
mask 022 or set mask 022 If you try fiddling around with it you may achive your goal. Also check the permissions of your file immediately after uploading. It may receive 400 or 440 mask. For instance, defaultly ftp should remove executable bits from such a file. It should be set in that ftpaccess. |
|
#15
|
|||
|
|||
|
I got it
Thanx
I got it. problem with the enabling the overwrite and delete are set "no" to "yes" in /etc/ftpaccess. Tanx a lot |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > Help me how to install Any FTP server installation on RedHat Linux 7.3 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
Linear Mode![]() |