Re: expect and spawn

2010-11-09 Thread paul branston
On 11/09/10 15:48, Aaron Martinez wrote: Hi All, I am trying to use openbsd as my workstation here at work but one of the tools we use, creates an expect script and it's not working at all. The developer of the tool uses linux primarily so he's not sure except to tell me that the expect in open

Re: Change root password from shell-script

2010-01-27 Thread Paul Branston
On Wed, Jan 27, 2010 at 05:48:15PM +0100, Jordi Espasa Clofent wrote: >> Have you looked at man usermod? -p flag in particular. > > Shame on me, indeed. It has been a game: > > #!/bin/sh > PASSWORD=$(echo "my_new_password" | encrypt -b 6) > usermod -p $PASSWORD root > A little more generic in case

Re: Writing to console...

2005-06-15 Thread Paul Branston
On Wed, Jun 15, 2005 at 10:17:30AM -0500, kevin wrote: > Hello all, > > I was downloading GNU gcc on a machine and when I looked over > after the download, the screen was writing: > "All work and no play makes Jack a dull boy" > > If this is normal I didn't take it as such, I immediate