I have been working with Windows/DOS all my life and I am totally Linux/Unix illiterate. My boss just bought a new Dell server and I am trying to configure Linux RedHat 7 on the box. Can one of you geniuses please tell me in simple English how to edit the smb.conf from the command line. I can't get the swat program (or XFree86 for that matter) to work on my machine. I would really appreciate any assistance you can render. Thank-you... I will certainly be happy to contribute Pizza money if you guys can help me or point me towards any reference material that is written in a simple language that I can understand. Juli L. Jacobs Mgr Network Operations Sedata Payroll Express 330.668.9720 julij@sedata-payroll.com
Juli, At the command prompt: cd /etc/samba vi smb.conf VERY ABBREVIATED VI INSTRUCTIONS Use the arrows to navigate. If you find some text you want to delete, press the x key. If you want to add any text press the i key to enter "insert mode" and type whatever you want. Hit Esc to exit "insert mode". To save changes type :wq To exit without saving :q! Be sure to type "testparm" at the command prompt after editing smb.conf to make sure you have no typos. From there, you should be able to type "smbd start" and "nmbd start" to be up and running if you've properly set up smb.conf for your network. Hope this helps, AE -----Original Message----- From: Juli L. Jacobs [mailto:julij@sedata-payroll.com] Sent: Tuesday, October 16, 2001 8:40 AM To: samba@samba.org Subject: Request for Tech Support I have been working with Windows/DOS all my life and I am totally Linux/Unix illiterate. My boss just bought a new Dell server and I am trying to configure Linux RedHat 7 on the box. Can one of you geniuses please tell me in simple English how to edit the smb.conf from the command line. I can't get the swat program (or XFree86 for that matter) to work on my machine. I would really appreciate any assistance you can render. Thank-you... I will certainly be happy to contribute Pizza money if you guys can help me or point me towards any reference material that is written in a simple language that I can understand. Juli L. Jacobs Mgr Network Operations Sedata Payroll Express 330.668.9720 julij@sedata-payroll.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Hi Juli, Sounds like you're where I was about 6 months ago (although I'm not all that much farther along now - haven't had nearly as much time as I'd like to play with it)... I'm a hardware (and Mac) guy from way back, and for the last 3 years I've been masquerading as an NT guy... Linux is definitely different, but I like it more every time I install it. There are a number of different text editors you can use to edit smb.conf. vi is one (I use it, but hate it ;), emacs and pico are others. You should be able to execute them from anywhere, so you'd do: cd /directory-where-smb.conf-resides (in Redhat 7.1, its in /etc/samba/ vi smb.conf (or pico smb.conf, etc) Or, of course, you could just do: vi /etc/samba/smb.conf Pico is definitely easier to use, but you have to be very careful with it, because it has the bad habit of adding hard returns to the config file (if any of the lines are longer than the default width of the terminal window), so you'll have to be sure and remove these before saving or it breaks things. If you are gonna be doing a lot of this, I highly recommend learning the basic vi commands (man vi). Questions: Is this 7.0? If so, thats one problem - 7.0 was very broken in many ways... The distros have come a long way since Redhat 7.0. 7.1 is much better, and 7.2 is just around the corner. I also highly recommend Mandrake now (it was very weak in the Server arena, but 8.1 changed all that). I'll be learning Debian soon - I think its probably the distro I'm gonna settle down and get warm and fuzzy with eventually... Good luck and remember to have fun with it! Charles Marcus -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On Behalf Of Juli L. Jacobs Sent: Tuesday, October 16, 2001 8:40 AM To: samba@samba.org Subject: Request for Tech Support I have been working with Windows/DOS all my life and I am totally Linux/Unix illiterate. My boss just bought a new Dell server and I am trying to configure Linux RedHat 7 on the box. Can one of you geniuses please tell me in simple English how to edit the smb.conf from the command line. I can't get the swat program (or XFree86 for that matter) to work on my machine. I would really appreciate any assistance you can render. Thank-you... I will certainly be happy to contribute Pizza money if you guys can help me or point me towards any reference material that is written in a simple language that I can understand. Juli L. Jacobs Mgr Network Operations Sedata Payroll Express 330.668.9720 julij@sedata-payroll.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Almost forgot... There is also a known problem with the initial SWAT config on Redhat 7.0 + - you need to enable it in xinetd: Place the following (JUST the text that is between the asterisk lines, NOT the asterisk lines themselves) in a text file named swat in the /etc/xinetd.d directory: ****************** swat text file ***************** # default: off # description: SWAT is the Samba Web Admin Tool. Use swat \ # to configure your Samba server. To use SWAT, \ # connect to port 901 with your favorite web browser. service swat { port = 901 socket_type = stream wait = no #only_from = localhost user = root server = /usr/sbin/swat log_on_failure += USERID #disable = yes } ****************** swat text file ***************** Make sure it is owned by root, and chmod it to 644. Then you need to make sure it is being started by xinet - do: chkconfig --list The last entries are for xinetd - make sure swat is on. If not, do: chkconfig swat on restart xinetd: service xinetd restart That should get swat going. Charles -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On Behalf Of Juli L. Jacobs Sent: Tuesday, October 16, 2001 8:40 AM To: samba@samba.org Subject: Request for Tech Support I have been working with Windows/DOS all my life and I am totally Linux/Unix illiterate. My boss just bought a new Dell server and I am trying to configure Linux RedHat 7 on the box. Can one of you geniuses please tell me in simple English how to edit the smb.conf from the command line. I can't get the swat program (or XFree86 for that matter) to work on my machine. I would really appreciate any assistance you can render. Thank-you... I will certainly be happy to contribute Pizza money if you guys can help me or point me towards any reference material that is written in a simple language that I can understand. Juli L. Jacobs Mgr Network Operations Sedata Payroll Express 330.668.9720 julij@sedata-payroll.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
On Tuesday 16 October 2001 08:40, Juli L. Jacobs wrote:> I have been working with Windows/DOS all my life and I am totally > Linux/Unix illiterate. My boss just bought a new Dell server and I am > trying to configure Linux RedHat 7 on the box. Can one of you geniuses > please tell me in simple English how to edit the smb.conf from the command > line. I can't get the swat program (or XFree86 for that matter) to work on > my machine. I would really appreciate any assistance you can render. > Thank-you... I will certainly be happy to contribute Pizza money if you > guys can help me or point me towards any reference material that is written > in a simple language that I can understand.There are many text editors available for UN*X. But almost every UN*X system on earth has vi. vi is a little difficult for beginners to work with, but it is managable. This tutorial is pretty nice: http://ECN.www.ecn.purdue.edu/ECN/Documents/VI/ -- Bill Moran Potential Technology technical services (412) 793-4257
Great advice, Bill! Further, many flavors of Unix now support CDE (common desktop environment) which provides a GUI (graphical user interface) for Unix. There is a toolbar at the bottom of the screen and if you open one of the folders there will be an icon for a "text editor" which functions at least as well as "notepad" within Windows. However, I'm with Bill; vi is a good skill to acquire because there are times when it's all you have. Steven E. Sheldon CAD Administrator Lucent Technologies Atlanta Facility 770-798-2799 sesheldon@lucent.com -----Original Message----- From: Bill Moran [mailto:wmoran@iowna.com] Sent: Tuesday, October 16, 2001 4:37 PM To: Juli L. Jacobs; samba@samba.org Subject: Re: Request for Tech Support On Tuesday 16 October 2001 08:40, Juli L. Jacobs wrote:> I have been working with Windows/DOS all my life and I am totally > Linux/Unix illiterate. My boss just bought a new Dell server and I am > trying to configure Linux RedHat 7 on the box. Can one of you geniuses > please tell me in simple English how to edit the smb.conf from the command > line. I can't get the swat program (or XFree86 for that matter) to work on > my machine. I would really appreciate any assistance you can render. > Thank-you... I will certainly be happy to contribute Pizza money if you > guys can help me or point me towards any reference material that iswritten> in a simple language that I can understand.There are many text editors available for UN*X. But almost every UN*X system on earth has vi. vi is a little difficult for beginners to work with, but it is managable. This tutorial is pretty nice: http://ECN.www.ecn.purdue.edu/ECN/Documents/VI/ -- Bill Moran Potential Technology technical services (412) 793-4257 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba