[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Checking passwords in Novell 4.11

Posted on 1999-01-22
5
Medium Priority
?
133 Views
Last Modified: 2008-03-06
I'm writing a program which forces users to change their password (I work in education and students would rather ask our helpdesk to do this for them).  I need something which checks their old password before I run the code to change it to something new.

Any ideas
0
Comment
Question by:bigc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 12

Expert Comment

by:mark2150
ID: 1470033
You *CANNOT* read the existing password in Novell. The system just has no way to read this info back to an app. You can OVERRIDE the password with an ADMIN account, but this will *NOT* tell you the current password.

I just build an icon that triggers SETPASS.EXE in a child DOS window. I set the properties of the batch so that the window doesn't shut automatically to give the user a chance to see the response in case the change failed for any reason.

If you need to bulk reset accounts, It's easy enough to force in passwords, but then you still have to notify the users of their *NEW* passwords. You can't use email to do it as they can't get into the LAN to get their new passwords without first knowing their new passwords.

M

0
 

Author Comment

by:bigc
ID: 1470034
I know I can't read it.  My problem is that if I put a batch file like that in, they simply press enter enough times to go through it, and still don't change their password - basically I need something idiotproof so they are forced to change it.

Does setpass produce error codes which could be read, and so loop back to the beginning if they tried to evade changing their password?
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1470035
Yes. Setpass will return an errorlevel >0 if unsuccessful and =0 if Ok. You can code a batch:

@ECHO OFF
:RETRY
SETPASS
IF ERRORLEVEL=1 GOTO RETRY

Although I found a *much* easier way to motivate my users to change their passwords on time. When payday comes around I wouldn't let got of the envelope until I saw the user change their password!

M

0
 

Author Comment

by:bigc
ID: 1470036
Thanks.

Unfortunately as my users are students, nothing much motivates apart from free drink or casual sex - neither of which I'm prepared to offer them.

I think you need to put it in as an answer, as I can't give you the points from a comment.
0
 
LVL 12

Accepted Solution

by:
mark2150 earned 600 total points
ID: 1470037
Ok, Thanks!

M

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

656 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