Re: adduser without ncurses?
From: Richard T. Kus (richk_at_panix.com)
Date: 06/19/04
- Next message: Martin P. Hellwig: "Re: adduser without ncurses?"
- Previous message: Rob: "Re: problem with mail loops back"
- In reply to: Erica: "adduser without ncurses?"
- Next in thread: Theorem: "Re: adduser without ncurses?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 19 Jun 2004 14:28:08 -0400
In article <346a55df.0406182229.704dff4a@posting.google.com>,
Erica <erica@technodyke.com> wrote:
>(I may have accidently posted this twice, if so, I apologize)
>
>Hi,
>
>I wrote a script to add a whole bunch of users to a FreeBSD box using input from
>a file. However, I need something that works like adduser or useradd
>without ncurses, that is, without prompting for input. Something that
>allows me to just place all the arguments on a single line so that I can
>run it in an awk loop. If anyone knows of such a thing, I would be ever
>grateful for your assistance.
>
>--Erica
Have you look at expect? expect makes use of prompt to automate something like
adduser or terminal server as an example.
richk
- Next message: Martin P. Hellwig: "Re: adduser without ncurses?"
- Previous message: Rob: "Re: problem with mail loops back"
- In reply to: Erica: "adduser without ncurses?"
- Next in thread: Theorem: "Re: adduser without ncurses?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|