Re: adduser without ncurses?

From: Richard T. Kus (richk_at_panix.com)
Date: 06/19/04


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



Relevant Pages

  • Re: adduser without ncurses?
    ... >I wrote a script to add a whole bunch of users to a FreeBSD box using input from ... I need something that works like adduser or useradd ... >without ncurses, that is, without prompting for input. ...
    (comp.unix.misc)
  • Re: adduser without ncurses?
    ... > I wrote a script to add a whole bunch of users to a FreeBSD box using input from ... I need something that works like adduser or useradd ...
    (comp.unix.misc)
  • Re: adduser without ncurses?
    ... > I wrote a script to add a whole bunch of users to a FreeBSD box using input from ... I need something that works like adduser or useradd ...
    (comp.unix.bsd.freebsd.misc)
  • Re: adduser without ncurses?
    ... > I wrote a script to add a whole bunch of users to a FreeBSD box using ... I need something that works like adduser or useradd ... > without ncurses, that is, without prompting for input. ...
    (comp.unix.misc)
  • Re: adduser without ncurses?
    ... > I wrote a script to add a whole bunch of users to a FreeBSD box using ... I need something that works like adduser or useradd ... > without ncurses, that is, without prompting for input. ...
    (comp.unix.bsd.freebsd.misc)