Re: [CentOS] [OT]: Passing password for a command on the fly

2008-05-16 Thread Mário Gamito
Dear Luciano (aka strange), Thank you very nice :) Kind Regards, Mário Gamito On Fri, May 16, 2008 at 9:42 AM, Luciano Rocha <[EMAIL PROTECTED]> wrote: > On Fri, May 16, 2008 at 09:38:17AM +0100, Mário Gamito wrote: >> Hi, >> >> First things first, sorry for the off-topic, but I've already burne

Re: [CentOS] [OT]: Passing password for a command on the fly

2008-05-16 Thread Santi Saez
El 16/05/2008, a las 10:38, Mário Gamito escribió: I have this command to create an FTP account: # pure-pw useradd mario -u 502 -g 502 -n 1000 -N 200 -d /home/pages/ mario This command asks for the password twice. I need to pass the password (preferably without expect) so I can create the

Re: [CentOS] [OT]: Passing password for a command on the fly

2008-05-16 Thread Luciano Rocha
On Fri, May 16, 2008 at 09:38:17AM +0100, Mário Gamito wrote: > Hi, > > First things first, sorry for the off-topic, but I've already burned > my eyes Googling and couldn't find the answer to what I need and I > remembered asking here, because I'm a long time CentOS and its mailing > list user. >