Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

MIS Systems Do you use SIMs or similar? Try and ease your woes here.

Go Back   EduGeek.net Forums > Technical > MIS Systems
Reply
 
LinkBack Thread Tools Search Thread
Sponsored Links
Old 02-09-2008, 05:43 PM   #1
 
academic_mwnci's Avatar
 
Join Date: Feb 2008
Posts: 3
uk uk wales
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 academic_mwnci is an unknown quantity at this point
Default Changing passwords for SIMS users by script

As System Manager 7 is a long way off (relatively speaking)

Does anyone use/have any scripts they use to change passwords in SIMS.

The kind of thing I was thinking of:
  • To have a script run which will reset passwords monthly and create a list of the new passwords in a text file.
  • To have a script that would change a singe user password which is constant in several school databases

In a search before postin DBPwdChg.exe came up - anyone know what this does?
  Reply With Quote
Old 02-09-2008, 11:52 PM   #2
 
FN-GM's Avatar
 
Join Date: Jun 2007
Location: Rochdale, Lancashire
Posts: 8,109
uk
Thanks: 280
Thanked 531 Times in 481 Posts
Rep Power: 109 FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute FN-GM has a reputation beyond repute
Send a message via Skype™ to FN-GM
Default

If you come up with a solution please let me know

Thanks
  Reply With Quote
Old 03-09-2008, 12:02 AM   #3
 
Michael's Avatar
 
Join Date: Dec 2005
Location: Birmingham
Posts: 5,017
uk uk england
Thanks: 95
Thanked 724 Times in 554 Posts
Rep Power: 145 Michael ooh
Michael ooh Michael ooh Michael ooh Michael ooh Michael ooh Michael ooh Michael ooh
Default

It is one thing that Sims lacks, however I have read articles (on these forums) whereby you can link the Sims logon with Active Directory. Active Directory does allow you to force users to reset their password at first logon or whenever necessary.
  Reply With Quote
Old 04-09-2008, 10:52 AM   #4
 
jinnantonnix's Avatar
 
Join Date: Nov 2007
Location: Wales
Posts: 1,075
uk uk wales
Thanks: 25
Thanked 152 Times in 126 Posts
Blog Entries: 5
Rep Power: 41 jinnantonnix has much to be proud of jinnantonnix has much to be proud of jinnantonnix has much to be proud of jinnantonnix has much to be proud of jinnantonnix has much to be proud of jinnantonnix has much to be proud of jinnantonnix has much to be proud of jinnantonnix has much to be proud of
Default

I did have a bash at it, but I couldn't quite get it.

It sort of works, but fails when you try to log in, so I suppose it doesn't really work at all.

Here's what I've got, perhaps it will give someone a toe-hold on the problem...





use testsims


declare @login_name as varchar(255)
declare @user_id as varchar(255)
declare @person_id as varchar(255)
declare @password_generated as varchar(255)
declare @new_password as varchar(255)
declare @new_password_encrypted as varchar(255)




set @login_name = 'user1'
set @password_generated = 'QWERTYUIOP'



declare @new_password_generated_encrypted varchar(255)
select @new_password_generated_encrypted = sims.db_fnc_cesencrypt(@password_generated, default)

-- password now stored in @new_password_generated_encrypted
select @new_password_generated_encrypted

-- now need to get the person_id for out login (user1)
select @person_id = person_id from sims.db_user
where login_name = @login_name

select @person_id

--now reset the password
exec sims.mnw_pix_password_reset @person_id, @password_generated
  Reply With Quote
Reply

EduGeek.net Forums > Technical > MIS Systems

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent users changing wallpaper ? pinemarten How do you do....it? 14 14-01-2010 05:15 PM
how can i prevent users changing wallpaper/screensaver? jayartibee Mac 5 26-02-2008 10:02 AM
Changing a users password without remembering it! acrobson How do you do....it? 10 23-11-2007 10:15 AM
SIMS - Passwords Gatt MIS Systems 13 12-04-2007 09:02 AM
Script needed to reset passwords for all users in OU tosca925 Scripts 12 12-09-2005 10:47 AM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:34 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright EduGeek.net




website uptime

© 2005 - 2010 EduGeek.net
SERVER: 4
no new posts