Re: Similar question was: Change password from shellscript

2003-12-17 Thread Hugo Vanwoerkom
Nunya wrote: On Tue, Dec 16, 2003 at 03:48:10PM -0600, Hugo Vanwoerkom wrote: We'll leave it as an exercise for the students to discover why xsane only works well under su. Neither my Epson 1650U nor my HP PSC 750 requires root under xsane. IJW. My Epson 1250 doesn't either on Sarge, but on

Re: Change password from shellscript

2003-12-16 Thread James Williamson
On Monday 15 Dec 2003 7:04 pm, Peter wrote: Howdie, I want to make a shellscript with the ability to change a userspassword. I can't get it to work properly because when i say passwd user i will have to enter the password is there a way or a switch todo this in a style like passwd user

Re: Change password from shellscript

2003-12-16 Thread Nunya
On Tue, Dec 16, 2003 at 07:10:13AM +, James Williamson wrote: My version of passwd has a --stdin switch which'll read the password from STDIN, i.e. Where can I get such a version of passwd? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact

Re: Change password from shellscript

2003-12-16 Thread James Williamson
On Tuesday 16 Dec 2003 7:22 am, Nunya wrote: On Tue, Dec 16, 2003 at 07:10:13AM +, James Williamson wrote: My version of passwd has a --stdin switch which'll read the password from STDIN, i.e. Where can I get such a version of passwd? It's on a Redhat machine, doesn't look like passwd

Similar question was: Change password from shellscript

2003-12-16 Thread Hugo Vanwoerkom
Peter wrote: Howdie, I want to make a shellscript with the ability to change a userspassword. I can't get it to work properly because when i say passwd user i will have to enter the password is there a way or a switch todo this in a style like passwd user password Thankz, Peter I want to make a

Re: Change password from shellscript

2003-12-16 Thread Ernest Johanson
chpasswd will do exactly what you want. Ernest Johanson Systems Administrator Fuller Theological Seminary On Tue, 16 Dec 2003, James Williamson wrote: Date: Tue, 16 Dec 2003 07:10:13 + From: James Williamson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Change password from

Re: Similar question was: Change password from shellscript

2003-12-16 Thread Mark Ferlatte
Hugo Vanwoerkom said on Tue, Dec 16, 2003 at 08:34:24AM -0600: I want to make a script (which I am at present unable to do) that does this: su give the password from the script export PATH=/usr/local/bin:/usr/bin:/usr/bin/X11 xsane exit from script Note: su insists on running from a

Re: Similar question was: Change password from shellscript

2003-12-16 Thread Hugo Vanwoerkom
Mark Ferlatte wrote: Hugo Vanwoerkom said on Tue, Dec 16, 2003 at 08:34:24AM -0600: I want to make a script (which I am at present unable to do) that does this: su give the password from the script export PATH=/usr/local/bin:/usr/bin:/usr/bin/X11 xsane exit from script Note: su insists on

Re: Similar question was: Change password from shellscript

2003-12-16 Thread Nunya
On Tue, Dec 16, 2003 at 03:48:10PM -0600, Hugo Vanwoerkom wrote: We'll leave it as an exercise for the students to discover why xsane only works well under su. Neither my Epson 1650U nor my HP PSC 750 requires root under xsane. IJW. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Change password from shellscript

2003-12-15 Thread Peter
Howdie, I want to make a shellscript with the ability to change a userspassword. I can't get it to work properly because when i say passwd user i will have to enter the password is there a way or a switch todo this in a style like passwd user password Thankz, Peter -- To UNSUBSCRIBE, email

Re: Change password from shellscript

2003-12-15 Thread Bill Goudie
On Mon, Dec 15, 2003 at 08:04:48PM +0100, Peter wrote: I want to make a shellscript with the ability to change a userspassword. I can't get it to work properly because when i say passwd user i will have to enter the password is there a way or a switch todo this in a style like passwd user