RE: Is their Automatic command to send a JPG file using FTP

2010-01-28 Thread Dixit, Viraj
Thanks so much. One question, I created a .netrc file and put it in the
root (/root) directory and this is what it looks like below. I have
taken out the IP, user name  password so no body can use them. Can you
tell me if my syntax is correct and how do I activate this file and is
this file in the right place on the server. Thanks,

machine 172.16.0.38
login  
password  
macdef init
binary
lcd /ftp
cd /var/temp
get newemp.db
quit

VJ
Viraj Dixit
City of Palo Alto Information Technology
650-329-2118

-Original Message-
From: Polytropon [mailto:free...@edvax.de] 
Sent: Thursday, January 28, 2010 12:03 AM
To: Dixit, Viraj
Cc: freebsd-questions@freebsd.org
Subject: Re: Is their Automatic command to send a JPG file using FTP

On Wed, 27 Jan 2010 14:08:40 -0800, Dixit, Viraj
viraj.di...@cityofpaloalto.org wrote:
 Hi,
 I am looking to see if there a command or a script In BSD Os that will
 allow me to ftp to a server automatically and get a file from another
 server. User name and passwd will be already in the script so it will
 run ftp and download a file or a JPG from that server. Like in Linux
OS
 there is a command using .netrc file and you can script that file and
 will automatically do what is in the file at time interval that you
 want.  Thanks,

In FreeBSD, there's documentation on that; read man ftp and
see the -u option.

I'm often (ab)using a Makefile to upload (send) files per FTP to
a server, and I call this make install. You can put this into
a shell script (sh) and then call it, e. g.

#!/bin/sh
FTPUSER=my_account_name_on_ftp_server
FTPPASSWD=my_very_complicated_password
SERVER=ftp.where_my_stuff_is.foo.bar
UPLOAD=/path/to/files/to/upload
cd ${UPLOAD}  ftp -u ftp://${FTPUSER}:${ftppass...@${server} *

Of course, you can utilize .netrc to contain FTP access data. Then,
you just need to call pure ftp with server name, and you can
replace * with any file name(s) you want.

However, be aware that FTP doesn't encrypt passwords. You should
take into mind that using FTP with an SSH wrapper, or even
better - scp - is a more secure way to send files.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Is their Automatic command to send a JPG file using FTP

2010-01-28 Thread Dixit, Viraj
Hi,

The script that I have setup does not work if I run the .netrc file. I
ran the commands in ftp -v mode and it did not like machine command, did
not like passwd or pwd etc. 

machine  0.0.0.0

login VJ

password  123456

macdef init

binary

lcd /ftp

cd /var/temp

get newemp.db

quit

 

If I use this command in .netrc it connects to the server but it does
not connect using my login name VJ, it  points to some other name.

ftp  0.0.0.0 ftp://ftp 0.0.0.0/ 

 .netrc simply doesn't work in FreeBSD.

Is their someone who has a working script. Thanks!!!

 

 

 

-Original Message-
From: Dan Nelson [mailto:dnel...@allantgroup.com] 
Sent: Wednesday, January 27, 2010 2:54 PM
To: Dixit, Viraj
Cc: freebsd-questions@freebsd.org
Subject: Re: Is their Automatic command to send a JPG file using FTP

 

In the last episode (Jan 27), Dixit, Viraj said:

 I am looking to see if there a command or a script In BSD Os that will

 allow me to ftp to a server automatically and get a file from another

 server.  User name and passwd will be already in the script so it will
run

 ftp and download a file or a JPG from that server.  Like in Linux OS
there

 is a command using .netrc file and you can script that file and will

 automatically do what is in the file at time interval that you want. 

 Thanks,

 

FreeBSD's ftp command supports .netrc files.  Is your current script not

working?

 

http://www.freebsd.org/cgi/man.cgi?query=ftp#THE_.netrc_FILE

 

-- 

Dan Nelson

dnel...@allantgroup.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Is their Automatic command to send a JPG file using FTP

2010-01-27 Thread Dixit, Viraj
Hi,
I am looking to see if there a command or a script In BSD Os that will
allow me to ftp to a server automatically and get a file from another
server. User name and passwd will be already in the script so it will
run ftp and download a file or a JPG from that server. Like in Linux OS
there is a command using .netrc file and you can script that file and
will automatically do what is in the file at time interval that you
want.  Thanks,
VJ

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

RE: SU Question

2009-04-30 Thread Dixit, Viraj
Sorry, I figured the problem, I edited the group file and added my name
to the group wheel and still not getting su to work.

VJ

 

Viraj Dixit 
City of Palo Alto Information Technology 
650-329-2118 



From: Dixit, Viraj 
Sent: Thursday, April 30, 2009 3:34 PM
To: 'freebsd-questions@freebsd.org'
Subject: RE: SU Question

 

Hi,

 

I just installed Free BSD OS 7.1 and installation went without any
errors, all looks good till I try to login with SU account via telnet
and I get this error below. Please help!!

 

 

VJ

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

RE: SU Question

2009-04-30 Thread Dixit, Viraj
Hi,

 

I just installed Free BSD OS 7.1 and installation went without any
errors, all looks good till I try to login with SU account via telnet
and I get this error below. Please help!!

 

 

VJ

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

RE: SU Question

2009-04-30 Thread Dixit, Viraj
Sorry, I have the answer, my apologize to all.

VJ

 

Viraj Dixit 
City of Palo Alto Information Technology 
650-329-2118 



From: Dixit, Viraj 
Sent: Thursday, April 30, 2009 3:46 PM
To: 'freebsd-questions@freebsd.org'
Subject: RE: SU Question

 

Sorry, I figured the problem, I edited the group file and added my name
to the group wheel and still not getting su to work.

VJ

 

Viraj Dixit 
City of Palo Alto Information Technology 
650-329-2118 



From: Dixit, Viraj 
Sent: Thursday, April 30, 2009 3:34 PM
To: 'freebsd-questions@freebsd.org'
Subject: RE: SU Question

 

Hi,

 

I just installed Free BSD OS 7.1 and installation went without any
errors, all looks good till I try to login with SU account via telnet
and I get this error below. Please help!!

 

 

VJ

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

RE: SSH --Fixed

2009-02-17 Thread Dixit, Viraj
Hi,

Anyone can tell me how to fix my kernel issue. I had built Free BSD 7.0
system that worked fine for four days then I had to move my system to
another place and the system halts at can't find kernel message. Do I
have to rebuild the whole system, I have checked the loader.conf file,
all looks fine. Thanks,
Shaan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Samba Install on BSD 5.4

2007-08-10 Thread Dixit, Viraj
Folks,

I have downloaded the latest Samba file from samba site. I have unzipped
the file and have configured it as requested. Anyone out there installed
Samba on Free BSD 5.4. Please indicate any problem that I will encounter
and any issues with Samba. Thanks,
VJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Filesystem Full

2007-06-12 Thread Dixit, Viraj
Folks,

My FreeBSD 5.3 system message logs are showing me this info,

Jun 12 14:53:48 gatekeeper kernel: pid 58059 (ftpd), uid 1049 inumber
141313 on /u
sr: filesystem full
Jun 12 15:34:17 gatekeeper kernel: pid 60158 (ftpd), uid 1049 inumber
141313 on /u
sr: filesystem full

 I am not finding any data files being uploaded in that volume. This is
what the df commands shows. After going through the /usr volume, there
is no indication that anything has changed.

/dev/da0s1a537936   36250  458652 7%/
devfs   1   1   0   100%/dev
/dev/da0s1e  10755828  844602 9050760 9%/local
/dev/da0s1f   7529054 7381944 -455214   107%/usr
/dev/da0s1d  14526318 9898206 346600874%/var

Any ideas! Thanks,
VJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Database error

2006-10-17 Thread Dixit, Viraj
Anyone knows what this error means running Informix Database on BSD. I
am not familiar with this app. Thanks,
VJ



Following is the error message.  Thanks.

***

END OF CHAIN
BASE = ROOT DSET = DS-SUBS-MSTR SEARCH ITEM = DS-SUB
VALUE = GL
STATUS =   15 FFM =1FFD =0  ERR =   70
UserID: TKWOK  Job#: #S14
Date: 10/16/06 Time: 134915
Can't find CLIENT entry in AU-AUDIT-MSTR

TURBOIMAGE RESULT AT 0: RETURN STATUS=15
DBGET, MODE 2, ON AU-AUDIT-MSTR  ON ROOT
Invalid statement name or statement was not PREPAREd.
(Error -481, ISAM 0)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

RE: Installing 5.4 BSD

2005-09-19 Thread Dixit, Viraj


 -Original Message-
I am trying to install Free BSD 5.4 and I am having all kinds of trouble. Can 
someone steer me the right direction. The system boots up fine and I am going 
through the process fine. I have my partitions done fine as the system creates 
the partitions and gets to sysinstall. At this point I get an error that says 
Unable to transfer the base distribution from acd0 and that's where it fails. 
If I say no it goes further but cannot make the root password change. If I 
reboot the system it comes to a prompt with boot and fails. I tried on two 
systems with the same result. What am I doing wrong. Also I am making the 
entire disk on the system for Free BSD. Thanks,

VJ

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Installing 5.4 BSD

2005-09-19 Thread Dixit, Viraj
In regard to the same problem below, I was able to install the system 5.3 but 
not 5.4 and only if I use the default options for partitions. I could not choose
my own options to change the size of the /usr  /var volumes. If I stayed with 
the default 
then the system found acd0 to load the base distribution otherwise it would not 
load the 
base distribution or even find the acd0. Any ideas!!!
VJ

 -Original Message-
From:   Dixit, Viraj  
Sent:   Monday, September 19, 2005 1:39 PM
To: freebsd-questions@freebsd.org
Cc: freebsd-questions@freebsd.org
Subject:RE: Installing 5.4 BSD



 -Original Message-
I am trying to install Free BSD 5.4 and I am having all kinds of trouble. Can 
someone steer me the right direction. The system boots up fine and I am going 
through the process fine. I have my partitions done fine as the system creates 
the partitions and gets to sysinstall. At this point I get an error that says 
Unable to transfer the base distribution from acd0 and that's where it fails. 
If I say no it goes further but cannot make the root password change. If I 
reboot the system it comes to a prompt with boot and fails. I tried on two 
systems with the same result. What am I doing wrong. Also I am making the 
entire disk on the system for Free BSD. Thanks,

VJ

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Building a New BSD 5.3 Server

2005-08-30 Thread Dixit, Viraj

I have a question regarding the compatibility of BSD 5.3 Unix which I found 
very stable running the OS for a website. I am purchasing a new server and 
these are the qualities that the server has. Is BSD 5.3 will be able to work 
and be compatible with these options.

Enterprise-class uptime and manageability, proven Intel(r) Xeon(tm) performance 
and 2U density for a variety of rack deployments
All HP ProLiant DL380 G4 models include:  
*   Intel(r) Xeon(tm) processor with 800MHz FSB   
*   PC2-3200 registered ECC DDR2 SDRAM memory  
*   Integrated Smart Array 6i controller  
*   Dual port embedded PCI-X Gigabit NIC (NC7782)

Many thanks,
VJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Logging Stops after few minutes

2005-06-29 Thread Dixit, Viraj


 I have been trying to find out why my system stops recording in the log files 
after few minutes. It will log if restart my syslogd daemon but then stops 
recording. I am pasting the commands and all relevant information below. Please 
advise, I need the log information!!! Thanks,
VJ

8127  ??  Ss 0:02.23 /usr/sbin/syslogd -m 0 

24667  ??  Is 0:13.76 /usr/sbin/cron
61326  ??  Is 0:13.26 /usr/libexec/ftpd -D -l -l

gatekeeper# cd /usr/log
gatekeeper# ls -l
total 0
-rw-r--r--  1 root  wheel  0 Jun 17 12:37 all.log
-rw-r--r--  1 root  wheel  0 Jun 15 11:43 messages

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Logging Stops after few minutes

2005-06-29 Thread Dixit, Viraj
Well, I will disregard your harsh comments. What I am trying to do is have all 
my FTP activity be logged in all.log. If you look at my FTP command it should 
be logging whole lot of information and my syslogd command should allow syslogd 
to continue writing without any delay. As for cron command, that just got 
copied with the rest. If you think what I pasted is meaningless, your common 
sense should have given you an indication to what I am looking for, just read 
the heading. Thank You!!
VJ

 -Original Message-
From:   fbsd_user [mailto:[EMAIL PROTECTED] 
Sent:   Wednesday, June 29, 2005 10:36 AM
To: Dixit, Viraj; freebsd-questions@freebsd.org
Subject:RE: Logging Stops after few minutes

That's all very nice, but how about a explanation of
what your are trying to do with logging and what
cron has to do with things.

With no background info what you posted is meaningless.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dixit,
Viraj
Sent: Wednesday, June 29, 2005 12:53 PM
To: freebsd-questions@freebsd.org
Subject: Logging Stops after few minutes




 I have been trying to find out why my system stops recording in the
log files after few minutes. It will log if restart my syslogd
daemon but then stops recording. I am pasting the commands and all
relevant information below. Please advise, I need the log
information!!! Thanks,
VJ

8127  ??  Ss 0:02.23 /usr/sbin/syslogd -m 0

24667  ??  Is 0:13.76 /usr/sbin/cron
61326  ??  Is 0:13.26 /usr/libexec/ftpd -D -l -l

gatekeeper# cd /usr/log
gatekeeper# ls -l
total 0
-rw-r--r--  1 root  wheel  0 Jun 17 12:37 all.log
-rw-r--r--  1 root  wheel  0 Jun 15 11:43 messages

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Logging Stops after few minutes

2005-06-29 Thread Dixit, Viraj
Sorry! Didn't mean to be snappy, I thank you for your level head. Basically, 
this is what is happening the syslog.conf file has the line for all.log to be 
activated in the directory I chose, which is /usr/log. I know for certain that 
if I stop and restart the syslogd daemon, it will start writing to all.log and 
then after few minutes, it will stop and that is it. I have my FTPD daemon 
setup to record all FTP activity but that is not happening. Please tell me 
running FTPD as daemon is not the cause or should I run FTP as a service. I 
have a lot of load due to FTP. Thanks for your help!!!
VJ 

 -Original Message-
From:   James Riendeau [mailto:[EMAIL PROTECTED] 
Sent:   Wednesday, June 29, 2005 11:19 AM
To: Dixit, Viraj; freebsd-questions@freebsd.org
Subject:Re: Logging Stops after few minutes

Whoa now.  No need for us all to get snappy.  Bottom line, what you posted
isn't much help, and without knowing anything about your system/setup, it's
very difficult to offer solutions.

First things first, are you sure that syslogd stops working after only 2
minutes?  Syslogd only chews on the processor when it has something to do.
Showing up as only running for 2 minutes when you run ps shouldn't be a
concern; that is the total CPU time and syslogd doesn't need much time to
get the job done on most systems.

If you're certain that it isn't logging events that it should:  did you make
ever make any modifications to /etc/syslog.conf?  If so, comment out (put a
# at the start of the line) the lines with the most recent changes.  Restart
syslogd.  If it works, uncomment out one line and restart syslogd.  Keep
doing that until you narrow down what causes syslog to suspend operations.
Let us know if you find out anything.


James Riendeau
MMI Computer Support Technician
1300 University Ave
Rm. 436, Dept. of MedMicro
Madison, WI  53706

Phone: (608) 262-3351
After-hours Phone: (608) 260-2696
Fax: (608) 262-8418
Email: [EMAIL PROTECTED]


On 6/29/05 12:55 PM, Dixit, Viraj [EMAIL PROTECTED] wrote:

 Well, I will disregard your harsh comments. What I am trying to do is have all
 my FTP activity be logged in all.log. If you look at my FTP command it should
 be logging whole lot of information and my syslogd command should allow
 syslogd to continue writing without any delay. As for cron command, that just
 got copied with the rest. If you think what I pasted is meaningless, your
 common sense should have given you an indication to what I am looking for,
 just read the heading. Thank You!!
 VJ
 
 -Original Message-
 From: fbsd_user [mailto:[EMAIL PROTECTED]
 Sent:Wednesday, June 29, 2005 10:36 AM
 To:Dixit, Viraj; freebsd-questions@freebsd.org
 Subject:RE: Logging Stops after few minutes
 
 That's all very nice, but how about a explanation of
 what your are trying to do with logging and what
 cron has to do with things.
 
 With no background info what you posted is meaningless.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Dixit,
 Viraj
 Sent: Wednesday, June 29, 2005 12:53 PM
 To: freebsd-questions@freebsd.org
 Subject: Logging Stops after few minutes
 
 
 
 
 I have been trying to find out why my system stops recording in the
 log files after few minutes. It will log if restart my syslogd
 daemon but then stops recording. I am pasting the commands and all
 relevant information below. Please advise, I need the log
 information!!! Thanks,
 VJ
 
 8127  ??  Ss 0:02.23 /usr/sbin/syslogd -m 0
 
 24667  ??  Is 0:13.76 /usr/sbin/cron
 61326  ??  Is 0:13.26 /usr/libexec/ftpd -D -l -l
 
 gatekeeper# cd /usr/log
 gatekeeper# ls -l
 total 0
 -rw-r--r--  1 root  wheel  0 Jun 17 12:37 all.log
 -rw-r--r--  1 root  wheel  0 Jun 15 11:43 messages
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Still looking for w finger who commnds don't give info.

2005-06-20 Thread Dixit, Viraj


These commands use to give me information on who is logged on in BSD 5.3 now 
for some reason no information is given from these commands when super users 
are logged on. Any info.?
Thanks!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: commands w who finger

2005-06-15 Thread Dixit, Viraj
No nothing was changed as far as I know. I usually log on as a super user 
through telnet and there are few others that I have also given access to as a 
super user. I have not tried the console yet, but what am I looking for. Thanks,
VJ

 -Original Message-
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  On Behalf Of Lowell Gilbert
Sent:   Wednesday, June 15, 2005 8:06 AM
To: Dixit, Viraj
Cc: freebsd-questions@freebsd.org
Subject:Re: commands w who  finger

Dixit, Viraj [EMAIL PROTECTED] writes:

 Anyone got an idea why any of these commands w who  finger do
 not show who is logged in. I am logged in as a super user and shows
 no one logged in. The commands used to work few days ago now
 nothing. Thanks for the help.

Did you change anything?
How are the various users logged in?  Via ssh?  On the console?  xterms?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: commands w who finger

2005-06-15 Thread Dixit, Viraj
What's the solution, do I need to rebuid some process or rebooting might solve 
it. Thanks!!

 -Original Message-
From:   Danny [mailto:[EMAIL PROTECTED] 
Sent:   Wednesday, June 15, 2005 8:31 AM
To: Dixit, Viraj
Cc: freebsd-questions@freebsd.org
Subject:Re: commands w who  finger

On 6/14/05, Dixit, Viraj [EMAIL PROTECTED] wrote:
 Hi,
 
 Anyone got an idea why any of these commands w who  finger do not show 
 who is
 logged in. I am logged in as a super user and shows no one logged in. The 
 commands used
 to work few days ago now nothing. Thanks for the help.

The binaries could have been modified by anyone permitted (or not
permitted; script kiddie) to do so?

...D
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


commands w who finger

2005-06-14 Thread Dixit, Viraj
Hi,

Anyone got an idea why any of these commands w who  finger do not show 
who is logged in. I am logged in as a super user and shows no one logged in. 
The commands used to work few days ago now nothing. Thanks for the help.
VJ

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FTP Log

2005-06-10 Thread Dixit, Viraj
Thanks all for your help. The  -l commands work great, here's the problem. I 
came back this morning and found that the ftplog file only recorded data for 
few minutes and there was no more data. I know that FTP is heavily used on my 
site for posting purposes but the ftplog file showed no more than few minutes. 
All commands and processes are working fine. Thanks,
VJ


- Original Message - 
From: Dixit, Viraj [EMAIL PROTECTED]
To: Dan Nelson [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Thursday, June 09, 2005 4:05 PM
Subject: RE: FTP Log


My previous email didn't show some lines correctly. This one is fine.
VJ

Hi Dan,

Can you shed light on why my FTP daemon not writing FTP logins in my ftplog
file. I have my FTP account enabled in my syslog.conf file and syslogd is
running.

54148  ??  Ss 0:16.13 /usr/libexec/ftpd -D

84598  ??  Ss 0:03.73 /usr/sbin/syslogd -m 0

!ftpd
*.* /var/log/ftp.log

VJ


-

A few things for starters:

1. Try adding the -l option to enable connection logging. Add it twice to
include get, store, cmd info as well.

2. Check to make sure those are tabs and not spaces in the syslog.conf
entry.

3. Make sure the /var/log/ftp.log file actually exists. It won't create it
on it's own, so you may need to do a touch on the file and then restart
syslogd.


--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FTP Log

2005-06-09 Thread Dixit, Viraj

Hi Dan,

Can you shed light on why my FTP daemon not writing FTP logins in my ftplog 
file. I have my FTP account enabled in my syslog.conf file and syslogd is 
running. 

54148  ??  Ss 0:16.13 /usr/libexec/ftpd -D  

84598  ??  Ss 0:03.73 /usr/sbin/syslogd -m 0  

!ftpd
*.* /var/log/ftp.log

VJ

 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FTP Log

2005-06-09 Thread Dixit, Viraj
My previous email didn't show some lines correctly. This one is fine.
VJ

Hi Dan,

Can you shed light on why my FTP daemon not writing FTP logins in my ftplog 
file. I have my FTP account enabled in my syslog.conf file and syslogd is 
running. 

54148  ??  Ss 0:16.13 /usr/libexec/ftpd -D  

84598  ??  Ss 0:03.73 /usr/sbin/syslogd -m 0  

!ftpd
*.* /var/log/ftp.log

VJ

 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: SU Question

2005-05-12 Thread Dixit, Viraj
HI Dan,

I am getting this error message when I try to logon using su command through 
Telnet remotely. All this started when I accidentally changed permissions, 
since then all permissions have been restored, yet the same error.
 % su
Password:
su: setting user context: Operation not permitted 

Any idea! Thanks,
VJ


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: SU Question

2005-05-12 Thread Dixit, Viraj

Final question, I notice the rights of su on another system were like this 
-r-sr-xr-x. What's the rule of setting the option s in the permissions. 
Thanks!
VJ

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreebSD 5.3

2005-05-11 Thread Dixit, Viraj
Folks,

I have accidentally changed the permissions to my directories on my test 
system. Now I cannot login either on console using root or any other login 
account. I simply cannot login, the permissions change has done it. I get the 
login prompt but this is the message I get from the system when I log in. Help 

Thanks,
An Idiot

Here is the message:
login: invalid script: /usr/libexec/login_krb-or-pwd
Login incorrect
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Group Rights in FreeBSD 5.3

2005-05-09 Thread Dixit, Viraj

Hi,

I need a question answered. In the FreeBSD 5.3 OS system, I have just created a 
new group called backup and I have added one user to this group called 
backup. What I am looking for is what is the command to limit this group called 
backup to only reading and downloading files but not from writing and 
deleting files on my system. Can groups be set to certain rights so any user 
added to that group will only get those rights. Thanks,
VJ

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Pico editor for 5.3

2005-05-05 Thread Dixit, Viraj

I am installing Pico on BSD 5.3, the installation for Pico goes up to ver. 4. 
Will this work or is there another solution. I have vi installed already but I 
have Pico user here. Thanks,
VJ
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Pico Editor for FreeBSD5.3

2005-05-05 Thread Dixit, Viraj

Hi Peter,

Let me ask you a question, since the last time you gave me an answer that was 
to the point. Is there a version of Pico editor for Free BSD 5.3, I have tried 
installing pine 4.63 the latest, I get this error, Problems building c-client 
. Any ideas will be appreciated. Thanks,
VJ
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Very Slow FTP Uploads

2005-03-28 Thread Dixit, Viraj
Hi,

Looking in to a solution why my FTP uploads are so slow on Free BSD 5.3 
version. Downloads are very fast but uploads are excruciatingly slow. My BSD 
system is on autoselect option as my port on the network switch. I have also 
tried various options like setting the network switch and the BSD OS to 100 
Fdx, still no better. I do have raid 5 drives, is there an option to improve 
FTP on OS by some miraculous BSD commands. Thanks!!
VJ

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network Interface Card Setup

2005-03-23 Thread Dixit, Viraj
Hi,
I have got a mismatch Duplex problem. Can someone confirm these commands to use 
with sysinstall. I want to change various options for the network card or where 
can I find these commands.

*   media 100baseTx mediaopt autoselect
*   media 100baseTX mediaopt full-duplex
Thanks,
VJ

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem Help!

2005-03-23 Thread Dixit, Viraj
Hi,

In my haste I edited my rc.conf file and knowing well that if I make a mistake 
I will get hung the system at that point. I need an expert help to get me out 
of this situation. I spent days building the system, I don't want to do the 
whole thing again. I must have forgot a quote in my rc.conf file and now when 
the system got rebooted it's asking for pathaname for the shell. I am not sure 
of the next step. Help!!
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Telnet and FTP issues on 5.3

2005-02-10 Thread Dixit, Viraj

Hi,

I have been searching for few days everywhere an answer to this question. Is 
there a way to stop telnet access for a group let's say ftponly but allow them 
to have FTP access in FreeBSD 5.3. I know this works in my old system BSD OS 
4.3. The commands are like this in login.conf file in BSD OS 4.3.


#restrict telnet for ftponly group only
ftponly:\
   :auth-network=reject:\
   :auth-ftp=passwd:


Thanks VJ


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Telnet and FTP issues on 5.3

2005-02-10 Thread Dixit, Viraj
Thanks so much Dan, this works great. I appreciate your help. 
VJ

 -Original Message-
From:   Dan Nelson [mailto:[EMAIL PROTECTED] 
Sent:   Thursday, February 10, 2005 10:42 AM
To: Dixit, Viraj
Cc: freebsd-questions@freebsd.org
Subject:Re: Telnet and FTP issues on 5.3

In the last episode (Feb 10), Dixit, Viraj said:
 I have been searching for few days everywhere an answer to this
 question. Is there a way to stop telnet access for a group let's say
 ftponly but allow them to have FTP access in FreeBSD 5.3. I know this
 works in my old system BSD OS 4.3. The commands are like this in
 login.conf file in BSD OS 4.3.
 
 #restrict telnet for ftponly group only
 ftponly:\
:auth-network=reject:\
:auth-ftp=passwd:

One way to do this is to set the user's shell to /usr/sbin/nologin and
add /usr/sbin/nologin to the /etc/shells file.  They won't be able to
telnet or ssh in, but they will be able to ftp.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Telnet and FTP question

2005-02-08 Thread Dixit, Viraj

Hi,

I have been searching for few days everywhere an answer to this 
question. Is there a way to stop telnet access for a group let's say ftponly 
but allow them to have FTP access in FreeBSD 5.3. I know this works in my old 
system BSD OS 4.3. The commands are like this in login.conf file in BSD OS 4.3.


#restrict telnet for ftponly group only
ftponly:\
   :auth-network=reject:\
   :auth-ftp=passwd:


Thanks VJ

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Host Name Lookup Error

2005-02-01 Thread Dixit, Viraj
Folks,

Just installed FreeBSD 5.3, all seems to be working except the error from 
sendmail. I can ping the mail server in the domain that I am trying to send the 
mail. But the mail gets send to my /var/spool/mqueue directory. The 
error is host name lookup failure. I want to put this system on line as 
production system soon. On last thing syslogd does not put out any logs under 
var/logs. Any ideas, I have been looking in FreeBSD archives.

VJ
Viraj Dixit
650-329-2118
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]