[PATCH] smbview.cpp and password

Alexander Neundorf alexander.neundorf at gmx.net
Mon Dec 23 23:57:20 GMT 2002


On Tuesday 24 December 2002 00:53, Oswald Buddenhagen wrote:
> On Mon, Dec 23, 2002 at 11:04:24PM +0100, Waldo Bastian wrote:
> > Florian Weimer <Weimer at CERT.Uni-Stuttgart.DE> noted today that in some
> > operating systems the environment is also publically accessible. The
> > attached patch addresses this by writing the passwords to a file
> > instead.
>
> hmm, i'd put this in #ifdefs. the file-based solution is clearly bigger
> and slower, so the env-based should be preferred on systems where it is
> safe.
>
> greetings

The password could also be fed into smbclient using a pty (see smbro ioslave).

Bye
Alex





More information about the kde-core-devel mailing list