Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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 drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2016-10-27 12:31 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (362 votes). Check out past polls.