Re: Scripting question

2001-01-08 Thread Craig Sanders
On Tue, Jan 09, 2001 at 10:55:11AM +1100, Nathan Ridge wrote: > yeah that is a option. See the problem/reason I need this is I am > having a problem whereas if a user gets a timeout whilst doing a POP3 > retrieve it locks their mailbox, but will not unlock, you can delete > the pop.lock file, chm

Re: Scripting question

2001-01-08 Thread Nathan Ridge
19:00:57 -0500 > To: Nathan Ridge <[EMAIL PROTECTED]> > Cc: Debian Mailing List <[EMAIL PROTECTED]> > Subject: Re: Scripting question > > On Tue, Jan 09, 2001 at 10:08:05AM +1100, Nathan Ridge wrote: >> I am trying to write a script for a couple of novice admins t

Re: Scripting question

2001-01-08 Thread tps
On Tue, Jan 09, 2001 at 10:08:05AM +1100, Nathan Ridge wrote: > I am trying to write a script for a couple of novice admins that changes > shell to bash from false, logs in, runs elm from where they can purge > certain emails from a users mailbox and then exit to change the shell back > to false.

Re: Scripting question

2001-01-08 Thread Tamas TEVESZ
On Tue, 9 Jan 2001, Nathan Ridge wrote: > su - $USR su - $USR -c "elm " -- [-] ``And there are plenty of other innovative pieces of software such as Napster and ICQ.'' -- comment on ``Systems Software Research is Irrelevant'' at http://freshmeat.net/news/2000/08/05/965534399.html -- To U

Scripting question

2001-01-08 Thread Nathan Ridge
I am trying to write a script for a couple of novice admins that changes shell to bash from false, logs in, runs elm from where they can purge certain emails from a users mailbox and then exit to change the shell back to false. So far I have: #!/bin/bash USR=$1 usermod -s /bin/bash $USR su - $USR