RE: ftp with user root
On Tue, 28 Oct 2003 [EMAIL PROTECTED] wrote: > > Hi Robin and Director: > > The situation is, I have 3 servers, now sun, but planning to > change them to FreeBSD, so right now I have a program in FoxPro > to administer the database of diskless, with this program I > generate the bootptab and download periodically to the servers > in case of somebody modify the file in one of the servers and > don't notify me (I am not the only administrator). > > The program in FoxPro and the ftp is run in a windows, so I > can't use sftp, nfs, etc.. Putty and various other Windows ssh-packages will allow you to use sftp/scp from a Windows workstation to transfer your file, then ssh in to make any further changes necessary. Cheers, Viktor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: ftp with user root
Hi Robin and Director: The situation is, I have 3 servers, now sun, but planning to change them to FreeBSD, so right now I have a program in FoxPro to administer the database of diskless, with this program I generate the bootptab and download periodically to the servers in case of somebody modify the file in one of the servers and don't notify me (I am not the only administrator). The program in FoxPro and the ftp is run in a windows, so I can't use sftp, nfs, etc.. So I am going to use another user member of wheel and "chmod 664 bootptab". thanks By the way, since this file doesn't exist I "cp crontab bootptab" so the file belongs to root:wheel, can I chenge the groop to other created by me? maps On Tue, 28 Oct 2003 17:58:47 -0700, <[EMAIL PROTECTED]> wrote: > > Hi: > > I need to transmit some files to the BSD server, one of this files > is the /etc/bootptab, which belongs to root, so I need root access > > How can I enable ftpd to permit the user root? > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ftp with user root
Hello, bootptab means you are using your server in a working environment, so consider not using an unsafe method like ftp to get the file from A to B. If your lan is TOTALLY non-public and has no ways for access you can open up ftp for user root by modifying the /etc/ftpusers file and knock out the root entry. You will have to HUP inetd as well as make sure the ftpd line is not remmed in /etc/inetd.conf. If though you have access to edit/change ftpusers then you have enough privilege to ftp up this file to a non-important user and then make a chown root:wheel after you have placed and moved the file. The key to remember is if you leave root as an ftp option and forget to undo the changes you most likely will lose the fear of leaving such a beast as root-ftp access open and continue to use it until one day when someone using a variety of means captures your root password on the clear text ftp protocol. Have you considered: >sftp - Allows you to access the system in a secure like method including placing files from a client to server. >nfs - Allows you to operate on the files directly with a preplanned who can and who can't access the files. Standard login takes care of the rest. Hope this helps. R. On Tue, 28 Oct 2003 [EMAIL PROTECTED] wrote: > > Hi: > > I need to transmit some files to the BSD server, one of this files > is the /etc/bootptab, which belongs to root, so I need root access > > How can I enable ftpd to permit the user root? > > maps > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ftp with user root
On Tue, 28 Oct 2003 17:58:47 -0700, <[EMAIL PROTECTED]> wrote: > > Hi: > > I need to transmit some files to the BSD server, one of this files > is the /etc/bootptab, which belongs to root, so I need root access > > How can I enable ftpd to permit the user root? > You shouldn't. It's a -really- bad idea. You should probably upload it somewhere else, and then move it. But if you -must-, take root out of /etc/ftpusers If you do this, be sure to put root back in after you are done. -- Robin Schoonover (aka End) # # Paranoid schizophrenics outnumber their enemies at least two to one. # ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ftp with user root
Hi: I need to transmit some files to the BSD server, one of this files is the /etc/bootptab, which belongs to root, so I need root access How can I enable ftpd to permit the user root? maps ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"