Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: John Ferlan <John.Ferlan@hp.com>
Subject: Re: Edauth usage (help - newbie)
Date: Thu, 12 Dec 2002 10:05:44 -0500	[thread overview]
Message-ID: <3DF8A5C8.4070308@hp.com> (raw)
In-Reply-To: 4bb16963.0212120621.587131a@posting.google.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.
>

-- 

John Ferlan
Tru64 UNIX Security
Hewlett-Packard Company





  reply	other threads:[~2002-12-12 15:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-12 14:21 Edauth usage (help - newbie) Martin Brodie
2002-12-12 15:05 ` John Ferlan [this message]
2002-12-13 13:40   ` Martin Brodie
2002-12-14  7:09   ` Robert Katz
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox