From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,6e5a99e2eca332e6 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-12-13 05:40:31 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: schuderfloss@netscape.net (Martin Brodie) Newsgroups: comp.unix.tru64 Subject: Re: Edauth usage (help - newbie) Date: 13 Dec 2002 05:40:30 -0800 Organization: http://groups.google.com/ Message-ID: <4bb16963.0212130540.3f72dd36@posting.google.com> References: <4bb16963.0212120621.587131a@posting.google.com> <3DF8A5C8.4070308@hp.com> NNTP-Posting-Host: 52.159.30.203 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1039786830 6915 127.0.0.1 (13 Dec 2002 13:40:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 13 Dec 2002 13:40:30 GMT Xref: archiver1.google.com comp.unix.tru64:9258 Thanks John, this works a treat. I am quite familiar with vi so this is a breeze. :-) John Ferlan wrote in message news:<3DF8A5C8.4070308@hp.com>... > You're in the default shell editor... > > edauth honors the EDITOR environment variable.. > > EDITOR=/usr/bin/vi;export EDITOR > edauth -dd default > > will dump you into vi > > > on the command line it'd be (assuming u_minlen was say 5 in the current > entry) > > edauth -g -dd default | sed 's/:u_minlen#5:/:u_minlen#8:/g' | edauth -s -dd > > Martin Brodie wrote: > > >How do I really use edauth? > > > >when I perform > > > > # edauth -dd default > > > >I get the following 2 lines below. I guess this is a line editor I am > >in, but what commands do I use here. > > > > "/tmp/edaBIguCe" 20 lines, 964 characters > > : > > > >I would like to make changes so that for example... > > > > u_exp=15638400 > >and > > u_minlen#8 > > > >I guess I need to utilize 'sed' but don't know how to. > > > > > >Thanks for explanations. > >