[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] /usr/bin/wall through fab
From: |
Paul Hoffman |
Subject: |
Re: [Fab-user] /usr/bin/wall through fab |
Date: |
Tue, 24 Jan 2012 12:27:45 -0800 |
Christian has the right idea here. For example, when changing the
password for a user, it turned out much easier to do it with sending a
file and executing it than trying to juggle the inputs. So, for
Ubuntu, I could use three commands:
echo "usertochange:newpassword" > foo
sudo /usr/sbin/chpasswd <foo
rm foo