Solved

Delete Groupmember via Batchfile

Posted on 1998-06-26
2
323 Views
Last Modified: 2012-05-04
Hi
We are using Netware 4.11 and I would like to delete a user from a group with a batchfile. This batchfile should be called by the loginscript of the user and the last command should delete his membership of the group.
Is this possible? And how can I do this?
0
Comment
Question by:kuehn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 4

Accepted Solution

by:
saar2 earned 100 total points
ID: 1592734
You should download the file ftp://ftp.cdrom.com/pub/novell/n4utl145.zip

In the ZIp file there is a utility called N4attr.exe. You should use it.

This utility can change any NDS property (groupmembership in this case).

Read the readme (or use n4attr /?) and read what is the syntax (username  , operation [add/remove] , property [groupmembership]

The creator address is dcollins@fastlane.net (if you need his help).

HTH,
Saar Carmi,

Email: saar@bigfoot.com
UIN: 3233305
0
 
LVL 4

Expert Comment

by:saar2
ID: 1592735
The right syntax of N4attr for groupmember ship changing:

N4attr <username> "group membership" + <group name>

or

N4attr <username> "group membership" - <group name>

HTH
Saar.


0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The conference as a whole was very interesting, although if one has to make a choice between this one and some others, you may want to check out the others.  This conference is aimed mainly at government agencies.  So it addresses the various compli…
Learn why we support net neutrality and why the topic is important to all internet users.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question