Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: Programmatically Adding E-Mail Accounts

by matija (Priest)
on Sep 15, 2004 at 10:49 UTC ( #391128=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Programmatically Adding E-Mail Accounts
in thread Programmatically Adding E-Mail Accounts

That is not actually correct.
Actually, it IS.

The passwd manpage on Linux (Debian) and Solaris do not list the --stdin switch. Quite possibly you are running some system that supports it, but that DOES NOT make what I said incorrect.

The question did not define which operating system the machine he is using actually runs, but it's far more likely that it doesn't support --stdin that that it does.

Comment on Re^3: Programmatically Adding E-Mail Accounts
Replies are listed 'Best First'.
Re^4: Programmatically Adding E-Mail Accounts
by tachyon (Chancellor) on Sep 15, 2004 at 13:04 UTC

    but it's far more likely that it doesn't support --stdin that that it does.

    Well given that it is valid for passwd(1) on RH, and RH is the most popular Linux, and RH has 50% market share according to netcraft, which is 3x Debian I would simply have to disagree with that premise. Linux is also about 2:1 Unix and 50% of Unix is Solaris so RH is 2:1 Solaris AOTBE.

    [root@devel3 bayes_cache]# uname -a Linux 2.4.18-3smp #1 SMP Thu Apr 18 07:27:31 EDT 2002 +i686 unknown [root@devel3 bayes_cache]# man passwd PASSWD(1) User utilities PASSWD(1) NAME passwd - update a user's authentication tokens(s) SYNOPSIS passwd [-k] [-l] [-u [-f]] [-d] [-S] [username] DESCRIPTION Passwd is used to update a user's authentication token(s). [snip] --stdin This option is used to indicate that passwd should read +the new password from standard input, which can be a pipe.



Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://391128]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2016-02-14 17:31 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (470 votes), past polls