Solved

setting up samba and ftp use for users in a group

Posted on 2004-04-14
3
211 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
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now