set passwordneverexpires

|

Although its not a good idea to do this, we have a requirement to set the passwords for users on a telnet application so that they never expire. This is because the telnet interface is the only interface they have with the server and therefore they don't have any way of changing their passwords. Security is controlled by another layer of usernames and passwords within the app so its not that much of an issue.
Anyway, I have a script that creates all the users for me - saves me having to enter all the fields correctly and also ensures that all the fields are entered in a uniform manner.
Until this morning, I'd not been able to set the password never expires option. However using netuser.exe, available from JSI Tip 570 you can do this with netuser username /pwdnexp:y

Categories

Pages

Powered by Movable Type 4.1

About this Entry

This page contains a single entry by published on November 8, 2004 9:45 AM.

We have light! was the previous entry in this blog.

rmtshare is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.