Locked out remotely

2006-03-03 Thread Angelo Christou
Hello list. I have a regular user account on a remote box running FreeBSD 6 and I need to reboot it. The user account is not part of the wheel group. I have the root password for local login but I cant su (su: Sorry). Is there anything at all I can do or am I totally helpless until I can access the

Re: FTP Automate Shell Script

2006-01-29 Thread Angelo Christou
> > A .netrc file (read the ftp man page) may work for > you. > > > > Cheers > > Gavin > > If you have shell access on the destination host, > you can also try mirror. Thanks for the many suggestions, I will be looking into them all (.netrc doesn't work yet, still trying). I am still curious w

FTP Automate Shell Script

2006-01-29 Thread Angelo Christou
Hello. I am using FreeBSD 6.0 and Bash as my shell. I am following a tutorial to create a shell script to copy some files. It works perectly exept for 2 points. Here is the article - http://www.quepublishing.com/articles/printerfriendly.asp?p=170517 Here is the script - #!/bin/sh temp="/tmp/$

Re: Shell Script Help

2006-01-29 Thread Angelo Christou
Hello Patrick, Your suggestion works perfectly. Thank you very much for helping a learner such as myself. Ang. Proniewski Patrick <[EMAIL PROTECTED]> wrote: On 29 janv. 06, at 16:10, Angelo Christou wrote: > list.txt contains: > > bob home 9002 > jim data 9005 > Runn

Shell Script Help

2006-01-29 Thread Angelo Christou
Hello, I am running FreeBSD 6.0 with Bash as my shell. I am trying to automate a task and I have been reading a lot about Bash, but I haven't been able to get a script working. I have a program that I need to pass 3 variables. I have a text file called list.txt that has the variables separated