[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 273
  • Last Modified:

setting up samba and ftp use for users in a group

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
sauce65
Asked:
sauce65
1 Solution
 
Sachin_YashCommented:
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

Industry Leaders: 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!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now