• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Delete Groupmember via Batchfile

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
kuehn
Asked:
kuehn
  • 2
1 Solution
 
saar2Commented:
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
 
saar2Commented:
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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now