You need to configure the truffle.js for giving the account to use - account will be mentioned in from paramter
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*" // match any network
},
live: {
host: "178.25.19.88", // Random IP for example purposes (do not use)
port: 80,
network_id: 1, // Ethereum public network
// optional config values:
// gas
// gasPrice
// from - default address to use for any transaction Truffle makes
during migrations
// provider - web3 provider instance Truffle should use to talk to the
Ethereum network.
// - if specified, host and port are ignored.
}
}
For each network, if unspecified, transaction options will default to the following values:
gas: Gas limit used for deploys. Default is 4712388.
gasPrice: Gas price used for deploys.Default is 100000000000 (100 Shannon).
from: From address used during migrations. Defaults to the first available account provided by your Ethereum client.
provider: Default web3 provider using host and port options: new - Web3.providers.HttpProvider("http://:")
http://truffleframework.com/docs/advanced/configuration#networks