LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Webmin Help (https://www.linuxquestions.org/questions/linux-software-2/webmin-help-68850/)

FXRS 06-29-2003 01:28 PM

Webmin Help
 
Pretty much moved from XP to Linux on my server. Installed Webmin (latest version) and seems like a real nice program. Anyways Im having a couple of issues.

1- I would like to setup a FTP server from the Linux box. In webmin I click on the ProFTP or WUFTP and I get a notice saying that it could not be found or it not installed in your modules right.
Well I do a search and nothing comes up for ProFTP or WUFTP. I download Pro and try to install. I get this error message:

"Failed Dependencies: vsftpd conflicts with proftpd-1.2.8-fr-2"

So do I have to uninstall vsftpd and if so how?

2- Im running Samba on the Linux box. I can see the other pc's on the network (xp and 2000). I can copy or move a file from the Linux box to and from the Windows pc, but I can only do this from the Linux box. If I go into "My Network Places" on the Windows pc I can see the Samba Server in the "View Workgroup Pc's", but I cannot get to it. Says I do not have permission to access from this station. Is there something in Webmin that I need to look at? I looked in server different places and not really sure on what to do.

So far I think things are going pretty good. Considering I only started to mess with Linux a week ago or so. Anyways any help would be greatly appreciated.

FX
:newbie:

jailbait 06-29-2003 01:40 PM

-----------------------------------------------------
So do I have to uninstall vsftpd and if so how?

Whatever package manager you are using to install
packages will have an uninstall feature. If you are using
rpm then the command is rpm -e vsftpd
see:
man rpm

As to whether you have to uninstall vsftpd or not
varies with the individual conflict. You can tell your
package manager to force the install anyway and the
two packages may or may not coexist in peace.
-----------------------------------------------------

david_ross 06-29-2003 01:41 PM

Personnaly I would use vsftpd not proftpd. You just need to edit the vsftpd.conf file to configure it (if you need to) then you just start it "service vsftpd start".

If you want to remove it you just need to run:
rpm -e vsftpd

FXRS 06-29-2003 02:49 PM

Thanks for the quick responses.

Well I have ProFTP installed. Now Im trying to get it setup in Webmin. Im not sure how to setup Users and PW. Has anyone done this?

FX

FXRS 06-29-2003 04:49 PM

I am beating my head against the wall here. Reading and searching both here and at the ProFTP site. I have NO idea how to do this. I have used ServU FTP when I was running windows and it was real striaght forward and easy to setup users. Im using webmin and was hoping for the same, but it doesn't seem to be that way. Im confused here or just getting burned out from reading too much. Do I have to "addusers" to my Linux box? Do they use a FTP like WS_FTP Pro program to connect or URL link and if so whats the addy? Sorry for all the questions but this is fustrating. LOL

Before all I did to join my own ftp was start WS_FTP Pro and I had my FTP Server name, user name, and pw setup and I would hit connect and boom I or anyone for that matter was in. With this I have no idea what to do. Could anyone give me a hand.

Thanks ahead of time.

FX

cropcircle 06-29-2003 05:23 PM

Do you have a personal user (not the root) account on your Linux machine? I guess you have.

If so, try this on you Linux machine :

"ftp localhost"
login : <your personal useraccount on your Linux server>
password : <your password>

If that works then you need to add useraccounts for FTP users on your system. But don't worry, there are ways to get sure those users cannot log in, but only can use the FTP service on your Linux machine.

As for the Samba problem, first check if the 'encrypt passwords' option is present in your configuration file, to do this, do :

"grep -i crypt /etc/samba/smb.conf"

If this returns :

encrypt passwords = Yes

then disable it (by changing Yes to no, or by removing that line).

You can use Webmin to do this if you prefer this, or you can use the 'swat - Samba Web Administration Tool' for that purpose. You can even edit the configuration file by hand if you want to do that.

You can access swat by pointing your browser to :

http://localhost:901

(or, ofcourse from another machine with localhost being replaced by the ip-adress of your Linux machine).

Good luck.

cropcircle 06-29-2003 05:25 PM

FXRS : by the way, which Linux distribution are you using?

FXRS 06-29-2003 09:01 PM

RH 9 is the version I am using.

When I type "ftp localhost" I get "connected to localhost" <ip #>
220 FTP Server ready
331 Password required for Me
I typed in my password for both the non-root and root and I get a 530 Login incorrect.
Login failed.

So what do I do now? And how do other people connect to my server?

FX

FXRS 06-30-2003 08:18 AM

Just a little bump.

david_ross 06-30-2003 01:03 PM

try typing:
ftp fxrs@localhost

replace fxrs with your user account name though then enter the password for that account.

FXRS 06-30-2003 06:01 PM

Well it seems to be a little closer. I get connetion to my IP and "waiting for server response" at least now, but then I get "Connection Close by remote host".

Not sure what to change now.

FX

FXRS 06-30-2003 07:14 PM

Ok I am wondering if because I had FXRS.kicks-ass.net reg. before if that is holding me up. What addy should I be putting into the ftp client that is trying to contact my server.

I think I have fxrs@localhost on the linux box. From ftp client like WS_FTP what would I put into the addy?

FX

FXRS 07-01-2003 01:27 AM

After even doing more reading. LOL I think I might have figured out my Samba problem and I can't do anything about it cause Im at work. :( When I made the "stuff" folder I never went into the properties and made it a share folder or a (I think the chmod) chmod 777 folder. Would that be the reason why I cannot get into the linux box ( or shared folder) with any user name or pw I give?

FX

SpaceCadet 08-14-2003 02:54 AM

hi FXRS just wondering if you managed to get that ProFTPD thing figured out. Something I learned which they don't tell you in the documentation is that by default, as soon as you install ProFTPD it's ready to take incoming signals on port 21. To test your connection after you install it, just open an FTP client, type in the IP address to your box, port 21, your username (that's right the one you use to log into your desktop with) and your password and connect. That should do the trick, and let you into your box thru your FTP client. The only problem though is that since ProFTPD isn't customized, you will probably be able to move around the entire folder structure of your box. This is where I'm stumped as of yet, haven't figured out the chroot (making it so that users can't move above their /home/usr directory) thing yet, but I hear you can configure it through webmin somehow. I also hear that you need to make a few specific folders within the home directory of each user in order for proftpd to create the files it needs to get chroot to work properly. Haven't figured it all out yet, but I will post a reply on this board as soon as I do. Anyway if what I see is right the date you posted your last reply was over a month ago so you might just have figured things out. If you did and you know how to use chroot please let me know, thanks :)

SpaceCadet 08-14-2003 02:57 AM

Oh and also, one other thing I forgot to mention, is that I use mandrake 9.1. I don't know if this makes a difference in how default ProFTPD settings work since you use RH, but by my thinking they are similar if not the same :)


All times are GMT -5. The time now is 05:50 AM.