adduser without ncurses?

From: Erica (erica_at_technodyke.com)
Date: 06/19/04


Date: 18 Jun 2004 23:29:36 -0700


(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



Relevant Pages

  • adduser without ncurses?
    ... (I may have accidently posted this twice, if so, I apologize) ... I wrote a script to add a whole bunch of users to a FreeBSD box using input from ...
    (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 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: trouble with a script
    ... Your snippet of code doesn't look like sh on FreeBSD. ... Basically, I want my script to prompt me for two inputs, then append to ... The user input would be "domain.com", ... is how we set up a client's site on our servers. ...
    (comp.unix.shell)
  • Re: trouble with a script
    ... Your snippet of code doesn't look like sh on FreeBSD. ... Basically, I want my script to prompt me for two inputs, then append to ... The user input would be "domain.com", ... is how we set up a client's site on our servers. ...
    (comp.unix.shell)