Page 1 of 1 1
Topic Options
#67157 - 2002-06-17 06:02 PM Check rights
dbortunk Offline
Fresh Scripter

Registered: 2001-05-18
Posts: 36
Loc: USA
I have just added the action in my kix script to give the everyone group the ability to set system time using NTRIGHTS.exe. I don't want this to happen every time though. Is there a way for the script to check if the everyone group already has the set imte privilege and then not add it again?
Top
#67158 - 2002-06-17 06:05 PM Re: Check rights
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
one solution could be to check the error.
if can't set the time, then no rights yet.

cheers,
_________________________
!

download KiXnet

Top
#67159 - 2002-06-17 06:06 PM Re: Check rights
dbortunk Offline
Fresh Scripter

Registered: 2001-05-18
Posts: 36
Loc: USA
No, the script works and gives the user the rights. I don't want it to have to issue the command every time if it is already there.
Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 1198 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.05 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org