Solved

setting up samba and ftp use for users in a group

Posted on 2004-04-14
3
251 Views
Last Modified: 2010-03-18
I have created a group of users in a subdirectory on a certain partition but now I need to set them up for samba and ftp use on a RedHat 7.3 server.  I need the command lines and instruction for this.  Thanks.
0
Comment
Question by:sauce65
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
Sachin_Yash earned 500 total points
ID: 10867111
HI Buddy !!!

               For the Samba configuration u have to make few changes ....these changes r as follows :-

               1. edit .conf file (/etc/samba/smb.conf)
                    a. Change workgroup = "u'r_workgpname".
                    b. remove comment from host allow (i.e. allow hosts which u want example 192.168.0. 245 (just leave a space in bet'wn your m/c no. in this case before 245.
                    c. goto [home] & uncomment total [tmp] this is your name which will display on the screen when u start network nebourhood & in additional give the permission say:-    browseable=yes & read only=yes

             2. Normally create the samba user by using
                   #smbpasswd -q "username"
                      Linux will ask u for the password give it.
             
             3. Start the SAMBA Service...
 
               To see what is shared by your m/c just give command:
                    #smbclient -L localhost

               4. INTO GUI just press ' Alt+F2 ' & type 'Nautilus'
 will open the browser
                  Here u have to type simply :-
        smb:///
                 will show u what u shared by u'r m/c as well as other too..

               
                  ***  FOR THE FTP  ***

1. To activate the FTP service start conf. file as
   /etc/vsftpd/vsftpd.conf
2. To restrict the users from using FTP enter names in
   /etc/vsftpd.ftpuser
3. To restrict access only to particular users:
   /etc/vsftpd.user-list.
4. start FTP ...

          Try it ...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

726 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