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-12 07:05:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail Message-ID: <3DF8A5C8.4070308@hp.com> From: John Ferlan User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en,pdf MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Edauth usage (help - newbie) References: <4bb16963.0212120621.587131a@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 12 Dec 2002 10:05:44 -0500 NNTP-Posting-Host: 16.140.16.90 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1039705646 16.140.16.90 (Thu, 12 Dec 2002 07:07:26 PST) NNTP-Posting-Date: Thu, 12 Dec 2002 07:07:26 PST Organization: Hewlett-Packard Company Xref: archiver1.google.com comp.unix.tru64:9251 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. > -- John Ferlan Tru64 UNIX Security Hewlett-Packard Company