Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there command in netware that will allow me to display all groups that user belongs to in login script?

share|improve this question
    
what version of netware? –  Chopper3 May 31 '11 at 8:07
    
Novell NetWare 5.00 –  jjczopek May 31 '11 at 8:51
add comment

1 Answer

It's been a long time since I used Netware, but I think the variable %GROUP_MEMBERSHIP should give you what you're looking for. So adding something like

WRITE "You're a member of the following groups..." 
WRITE "%GROUP_MEMBERSHIP" 

should give you a listing of the groups that the user is a member of.

share|improve this answer
    
it works partially - my user belongs to two groups, but only one was printed –  jjczopek May 31 '11 at 21:50
    
How about using nlist via the login script NLIST USER=%LOGIN_NAME SHOW "Group Membership" –  Mike1980 May 31 '11 at 22:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.