Solved

Delete Groupmember via Batchfile

Posted on 1998-06-26
2
310 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
  • 2
2 Comments
 
LVL 4

Accepted Solution

by:
saar2 earned 100 total points
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video discusses moving either the default database or any database to a new volume.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now