rsetup

set up Windows NT LSA database entries 

Command


SYNOPSIS

rsetup [-u username] [-p password]

rsetup [-u username] -d

rsetup [-u username] -q


DESCRIPTION

rsetup manages user name and password entries in the 7/2008R2/8/2012/10/2016 LSA database. When the -u username option is specified, entries for the specified user name are managed; otherwise, rsetup manages entries for the current user. These database entries are for use by the rshd service and must exist for each user that is to be the target of rsh, rlogin, or rcp requests.

You can add, delete, and query entries in the database. When neither the -d (delete) nor -q (query) options are specified, rsetup adds an entry for the user specified by the -u or the current user. The user name and password is verified when adding and deleting entries.

Using rsetup to access the LSA database requires advanced privileges and permissions. If you do not have such privileges, rsetup attempts to use a service to gain access. First, rsetup tries accessing the database with rshd. If this fails (for example, rshd is not locally installed and running), rsetup then tries accessing the database with mksauth.

Options

-d 

deletes the current user from the LSA database.

-p password 

specifies the password for the current user. When no password is specified, you are prompted for one.

-q 

queries the LSA database for the existence of a valid password entry for the current user.

-u username 

specifies the user name for which you want to manage associated LSA database entries.

When this option is omitted, rsetup manages LSA database entries associated with the current user.


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

>0 

An error occurred.


PORTABILITY

Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.


AVAILABILITY

PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Commands:
mksauth, rsh, rshd

MKS Toolkit Connectivity Solutions Guide


PTC MKS Toolkit 10.1 Documentation Build 15.