Networker

Re: [Networker] nsradmin question

2005-08-11 15:08:37
Subject: Re: [Networker] nsradmin question
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 11 Aug 2005 12:07:48 -0700
> I want to add another group to the groups attribute.
> 
> groups: oldgroup, newgroup;
> 
> Is there a way to do this short of printing the current attribute
> contents, tacking on the new entry and then using the nsradmin update
> command to recreate it?

Nope.

As you say, capture it with a script, add the bit you need (possibly
checking that it's not already there) , update the whole thing.

> BTW I'm trying to do this so I can script our client/group creation.

Very cool.


-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>