RE: [U2] UD: Login users

2007-01-25 Thread colin.alfke
Bill;

If they're already in why do they need a user?? ;-)

You can try the net user command (windows command use !net ... To run).
Note I have only used it for users to update their own password so not
sure how well it will work to create new users (access permissions to do
it).

Would it be better/easier/safer/more expandable to have the dedicated
users to access from ASP (may aid later with connection pooling) and
have the application keep track of the user?

Hth
Colin Alfke
Calgary Canada 

-Original Message-
From: Bill Haskett

I run UD 7.1 on Windows 2K3.  We're testing an ASP server and 
find the need for our Windows staff to create user's to login 
to UniData quite onerous.
We'd prefer that our ASP clients be able to create their own 
users from within UniData and manage this process 
themselves.  Is this even possible in the U2 products?
 
We created  a directory for all ASP accounts in E:\ASP.  
We've created a unique Windows group called UniData and 
removed all permissions on this directory except for 
Administrators and UniData group members (certain support 
personnel get assigned to the UniData group.  Each account has 
a group called UniData{AcctName} (so we end up with a number 
of groups at least equal to the number of accounts under the 
E:\ASP directory.  Again, we remove all permissions on this 
account-directory except for Administrators, UniData, and 
UniData{AcctName} group members.
 
Now when each user is created we need to:
 
1)  Create a Windows user as a member of users and 
UniData{AcctName}
groups
2)  Use UniAdmin to create a user profile for this user that 
sets up the users startup directory to their account
3)  Create a user profile within the application with the same 
password as the Windows user to be used by the application.
 
Previous to UniData, we could manage all access to the dbms 
from within the application, so we were never involved with 
managing ASP client's users.
I'm hoping there is some way we can avoid this administration task.
 
Thanks,
 
Bill Haskett
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UD: Login users

2007-01-25 Thread Timothy Snyder
[EMAIL PROTECTED] wrote on 01/25/2007 11:26:28 AM:

 You can try the net user command (windows command use !net ... To run).
 Note I have only used it for users to update their own password so not
 sure how well it will work to create new users (access permissions to do
 it).

I used NET USER to set up all users for a new system.  I had a customer who
was migrating from UNIX to Windows [much as it pained me to take part in
such a thing ;-) ].  I moved the /etc/passwd file from UNIX and wrote a
BASIC program to read it in and generate new users on Windows.  Naturally,
I couldn't interpret the passwords from UNIX.  We just plugged the new
passwords and forced the users to change them upon first login.

The command was:
  net user user_id new_password /add /fullname user_name
where userid and user_name came from the passwd file.  You will need to
have administrator access to perform this, for the obvious security
reasons.  You can type net user /help at the DOS prompt for more
information.


Tim Snyder
Consulting I/T Specialist
U2 Consulting
North American Lab Services
IBM Software Group
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UD: Login users

2007-01-25 Thread Charles Barouch
 The /fullname switch causes me error messages on
XP-Pro (SP2), but the rest works perfectly.
-- 
Charles
Barouch
[EMAIL PROTECTED] - Consulting
(718) 762-3884x1

Timothy Snyder wrote:
| 
| The command was:
|  
net user user_id new_password /add /fullname user_name
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] UD: Login users

2007-01-25 Thread Timothy Snyder
  The /fullname switch causes me error messages on
 XP-Pro (SP2), but the rest works perfectly.
Did you wrap the name in quotes?  I had problems until I did that.  I did
it on Windows 2003, so maybe it's a difference on XP.

Tim Snyder
Consulting I/T Specialist
U2 Consulting
North American Lab Services
IBM Software Group
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] UD: Login users

2007-01-24 Thread Bill Haskett
I run UD 7.1 on Windows 2K3.  We're testing an ASP server and find the need
for our Windows staff to create user's to login to UniData quite onerous.
We'd prefer that our ASP clients be able to create their own users from
within UniData and manage this process themselves.  Is this even possible
in the U2 products?
 
We created  a directory for all ASP accounts in E:\ASP.  We've created a
unique Windows group called UniData and removed all permissions on this
directory except for Administrators and UniData group members (certain
support personnel get assigned to the UniData group.  Each account has a
group called UniData{AcctName} (so we end up with a number of groups at
least equal to the number of accounts under the E:\ASP directory.  Again,
we remove all permissions on this account-directory except for
Administrators, UniData, and UniData{AcctName} group members.
 
Now when each user is created we need to:
 
1)  Create a Windows user as a member of users and UniData{AcctName}
groups
2)  Use UniAdmin to create a user profile for this user that sets up the
users startup directory to their account
3)  Create a user profile within the application with the same password as
the Windows user to be used by the application.
 
Previous to UniData, we could manage all access to the dbms from within the
application, so we were never involved with managing ASP client's users.
I'm hoping there is some way we can avoid this administration task.
 
Thanks,
 
Bill Haskett
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/