Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-18-2006, 03:48 AM   #1
LQ Newbie
Registered: May 2006
Posts: 2

Rep: Reputation: 0

im really new as you can probably tell.
im trying to use SWAT to set up samba but i cant get swat to turn on using the command. what exacly do i have to put in to get it turn on. i have found this command but i cant get it to work: [roo@bigboy tmp] chkconfig xinetd on.

Daniel Jones
Old 05-18-2006, 04:03 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
You also need an /etc/xinet.d/swat configuration file. Your system might have a single configuration file in /etc/, or a number of files in /etc/xinet.d/

Here is an example:
etc/xinetd.d> cat swat
# SWAT is the Samba Web Administration Tool.
service swat
        socket_type     = stream
        protocol        = tcp
        port            = 901
        wait            = no
        user            = root
        server          = /usr/sbin/swat
        only_from       =
        log_on_failure  += USERID
Old 05-18-2006, 04:24 AM   #3
LQ Newbie
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
when i go into the xinetd.d/swat configuration file i change the disable setting from yes to no but when i try to save it it says i dont have permissions to save the file. any ideas?
Old 05-18-2006, 04:56 AM   #4
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Are you trying to edit the file as root user? Most files in /etc contain system settings and are thus
only writable/changeable if you're the root user.

To solve your problem, first "su" to root and then try to edit the file once more.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 02:23 AM
Why after start of a command the invitation for input next command has not appeared. ukrainet Linux - General 3 06-24-2005 08:16 AM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 10:48 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration