Thanks for your help. In the end, I used mkpasswd (as included with
expect) to do this. It was only after the whole thing was up and running
that I found out about chpasswd.
I was thinking that since quite a number of people I know start
using Linux/Debian at home, and then "fertil
"Jens B. Jorgensen" wrote:
>
> The trouble is that none of the utilities (that I know of) allow you to
> specify the
> password on the command line. Perhaps you can do it with pipes, like the
> following.
Check the list archives - I posted a script on this list a couple days
back that generates
The trouble is that none of the utilities (that I know of) allow you to specify
the
password on the command line. Perhaps you can do it with pipes, like the
following.
Ok, let's say you have a file users.txt with a list of user names you want to
add, one
per line.
for i in $(cat users.txt) ; d
On Thu, Dec 02, 1999 at 02:36:25PM -0600, Jens B. Jorgensen wrote:
> The trouble is that none of the utilities (that I know of) allow you to
> specify the
> password on the command line. Perhaps you can do it with pipes, like the
> following.
This program is included in the passwd package on eve
here is what I use to add users from the file.
On Thu, Dec 02, 1999 at 02:36:25PM -0600, Jens B. Jorgensen wrote:
> The trouble is that none of the utilities (that I know of) allow you to
> specify the
> password on the command line. Perhaps you can do it with pipes, like the
> following.
>
>
On Thu, 02 Dec 1999 14:36:25 -0600
Jens B Jorgensen <[EMAIL PROTECTED]> wrote:
> The trouble is that none of the utilities (that I know of) allow
> you to specify the password on the command line. Perhaps you can
> do it with pipes, like the following.
This is the sort of problem that you use ex
Hi!
I was wondering whether it would be possible to add a number of
users with a single command. Ideally, there would be a call to pwgen (or
something like that!) and the passwords would be held in a file.
Any ideas (apart from "do it in perl!")?
Jose
--
Jose L Gomez Dans
7 matches
Mail list logo