Bug#333138: [Pkg-shadow-devel] Bug#333138: chfn behaves bogusly when either fd 0, 1 or 2 is not a tty

2005-10-11 Thread Robert Millan
On Tue, Oct 11, 2005 at 08:47:08PM +0300, Alexander Gattin wrote: > > No, there's only 1 BTW very common issue which does not > need any fixing IMNSHO. > > Interactive operation works, cmdline operation works. > What else? Nobody promised operating in semi- or > improperly emulated interactive mo

Bug#333138: [Pkg-shadow-devel] Bug#333138: chfn behaves bogusly when either fd 0, 1 or 2 is not a tty

2005-10-11 Thread Alexander Gattin
retitle 333138 chfn/chsh: no prompt when stdout is a tty while stdin isn't severity 333138 wishlist thanks Hi! On Tue, Oct 11, 2005 at 10:48:36AM +0200, Robert Millan wrote: > No, there's a bug that needs fixing. No, there's only 1 BTW very common issue which does not need any fixing IMNSHO. In

Bug#333138: [Pkg-shadow-devel] Bug#333138: chfn behaves bogusly when either fd 0, 1 or 2 is not a tty

2005-10-11 Thread Robert Millan
On Tue, Oct 11, 2005 at 06:40:02AM +0200, Christian Perrier wrote: > > Funnily, stdin can still be used as input to chfn (and, I guess, chsh) > as I showed in my example. The output is a bit ugly because the > prompts are still sent to stdout, but it does the job. > > I propose closing this bug r

Bug#333138: [Pkg-shadow-devel] Bug#333138: chfn behaves bogusly when either fd 0, 1 or 2 is not a tty

2005-10-10 Thread Christian Perrier
Quoting Nicolas François ([EMAIL PROTECTED]): > Hello, > > I don't think it is really a bug. > > The chfn man page indicates that "If none of the options are selected, > chfn operates in an interactive fashion, prompting the user with the > current values for all of the fields." > The "interactiv

Bug#333138: [Pkg-shadow-devel] Bug#333138: chfn behaves bogusly when either fd 0, 1 or 2 is not a tty

2005-10-10 Thread Nicolas François
Hello, I don't think it is really a bug. The chfn man page indicates that "If none of the options are selected, chfn operates in an interactive fashion, prompting the user with the current values for all of the fields." The "interactive fashion" means that it will hang and wait for the user's inp

Bug#333138: [Pkg-shadow-devel] Bug#333138: chfn behaves bogusly when either fd 0, 1 or 2 is not a tty

2005-10-10 Thread Robert Millan
On Mon, Oct 10, 2005 at 08:08:01PM +0200, Christian Perrier wrote: > > Package: passwd > > Version: 1:4.0.3-39 > > Severity: normal > > Testing with 4.0.13 (next version). Should be the same with 4.0.12 > (the version in unstable and Wednesday in testing): Sorry, my sid is a bit outdated :) > >

Bug#333138: [Pkg-shadow-devel] Bug#333138: chfn behaves bogusly when either fd 0, 1 or 2 is not a tty

2005-10-10 Thread Christian Perrier
> Package: passwd > Version: 1:4.0.3-39 > Severity: normal Testing with 4.0.13 (next version). Should be the same with 4.0.12 (the version in unstable and Wednesday in testing): > > aragorn:~# chfn rmh > Changing the user information for rmh > Enter the new value, or press ENTER for the default

Bug#333138: chfn behaves bogusly when either fd 0, 1 or 2 is not a tty

2005-10-10 Thread Robert Millan
Package: passwd Version: 1:4.0.3-39 Severity: normal aragorn:~# chfn rmh Changing the user information for rmh Enter the new value, or press ENTER for the default Full Name [rmh]:^C aragorn:~# cat | chfn rmh Changing the user information for rmh Enter the new value, or press ENTER for the