[comp.sys.novell] How to "su" w/ Novell

edj@cbnewsj.att.com (edward.jung) (04/25/91)

Does anyone know if a user can change their login name temporarily without
logging out?  For example, I would love to be able to type
	su supervisor
and mess around for a while and then get back to my old environment.

I hate it when I'm in Windows or Desqview and someone say's
	"I messed up my password, can you fix it?"

Ed Jung
mtdcb.att.com!edj

keith@ca.excelan.com (Keith Brown) (05/08/91)

The News Manager)
Nntp-Posting-Host: ca
Reply-To: keith@ca.excelan.com (Keith Brown)
Organization: Novell, Inc. San Jose, California
References: <1991Apr24.204843.28241@cbnewsj.att.com>
Date: Tue, 30 Apr 1991 19:07:51 GMT

In article <1991Apr24.204843.28241@cbnewsj.att.com> edj@cbnewsj.att.com (edward.jung) writes:
>
>I hate it when I'm in Windows or Desqview and someone say's
>	"I messed up my password, can you fix it?"
>

If you are running NetWare 3.X you might like to make yourself the
"Workgroup Manager" of the various colleagues who are in the habit of
forgetting their password. Being a workgroup manager gives you supervisory
rights to those portions of the bindery which describe the entities (users)
that you manage.

This is a much underused feature of NetWare 3.X. This is a shame as I think
it's one of the most useful.

Keith
-
Keith Brown                                      Phone: (408) 473 8308
Novell San Jose Development Centre               Fax:   (408) 433 0775
2180 Fortune Dr, San Jose, California 95131      Net:   keith@novell.COM

cmp8118@sys.uea.ac.uk (Dave Cartwright) (05/09/91)

keith@ca.excelan.com (Keith Brown) writes:

>In article <1991Apr24.204843.28241@cbnewsj.att.com> edj@cbnewsj.att.com (edward.jung) writes:
>>
>>I hate it when I'm in Windows or Desqview and someone say's
>>	"I messed up my password, can you fix it?"
>>

>If you are running NetWare 3.X you might like to make yourself the
>"Workgroup Manager" of the various colleagues who are in the habit of
>forgetting their password. Being a workgroup manager gives you supervisory
>rights to those portions of the bindery which describe the entities (users)
>that you manage.

	A bit like making yourself Security Equivalent to SUPERVISOR in 2.xx,
you mean ?? This is OK till you get the Powers That Be at your company saying
"We Don't Want People Security Equivalent To Supervisor" (directors get all
security minded at times, especially if they know nothing about computers and
they just read about hackers in the Financial Times). The way I got round this
was to write myself a batch file something like :

	SU.BAT

		SET SU=%LOGIN%
		LOGIN HAL\SUPERVISOR

	NOSU.BAT (well, you can't use EXIT can you)

		LOGIN HAL\%SU%
		SET SU=

	I also set LOGIN=%LOGIN_NAME in the System Login Script - it's ever
so useful in all sorts of places so it's worth it.

	The only problem now is that you have to type in your own password
when you do a NOSU. I know it's a bit naff, but it's quick to set up and it's
easier than typing LOGIN HAL\SUPERVISOR every time someone comes to you with a
supervisory request. Given a set of C libraries, obviously I could do better. 
One facility which would be nice is to allow SUPERVISOR to become any user,
e.g. IAM DSCARTWR. This would enable the system manager to play about with
applications that use Mail directories in their normal workings (e.g. ASCOM IV
comms software ... it's impossible (well, just about) to add phone numbers
to peoples' lists [which are stored in Mail directories] as SUPERVISOR. But
that's just me being nitpicking again.

	Dave C

-- 
 Dave Cartwright,               | cmp8118@sys.uea.ac.uk or uk.ac.uea.sys
 School of Information Systems, |   uucp : ...!ukc!uea-sys!cmp8118
 University of East Anglia,     | "Reality is an illusion brought on by
 Norwich, ENGLAND. NR4 7TJ.     |             lack of alcohol ..."

lips@vaxb.acs.unt.edu (05/13/91)

In article <1991Apr30.190751.19877@novell.com>, keith@ca.excelan.com (Keith Brown) writes:
> If you are running NetWare 3.X you might like to make yourself the
> "Workgroup Manager" of the various colleagues who are in the habit of
> forgetting their password. Being a workgroup manager gives you supervisory
> rights to those portions of the bindery which describe the entities (users)
> that you manage.

Does this feature *really* work in Novell 3.X??  We've been running 3.10a for
several months now, and the Workgroup Management aspects of the network fail to
function *at all*.  Needless to say, this has been moderately annoying, and I
had all but given up on it.  

Have you been able to get this to work for you?  If so, what version of
Netware, server configuration, etc., have you been using?  If this really
*does* work, I'd very much like to get it up on our system.

> This is a much underused feature of NetWare 3.X. This is a shame as I think
> it's one of the most useful.

I agree that it could be one of the most useful.  Keeps me from having to be a
SUPERVISOR equivalent when using the system.  :)

If anyone has information regarding the Workgroup Management situation, please
EMail me.  I'm dying to get over this hurdle.

}lips

------------------------------------------------------------------------------
Eric N. Lipscomb                        BitNet : LIPS@UNTVAX
"Paradise is exactly like where you     Inter  : lips@vaxb.acs.unt.edu
 are right now.                                  lips@toyshop.lonestar.org
 Only, much, *much* better."                     enlips@ponder.csci.unt.edu
                 -- Laurie Anderson              lipscomb@scs.chilton.unt.edu
------------------------------------------------------------------------------

dws1010@helios.TAMU.EDU (David Smith) (05/14/91)

>> If you are running NetWare 3.X you might ...

Is there any kind of program or Utility out on the market that would emulate
the "su" that will run on Netware 2.15 ??  

johnh@eecs.cs.pdx.edu (John Harris) (05/15/91)

In article <16195@helios.TAMU.EDU> dws1010@helios.TAMU.EDU (David Smith) writes:
>>> If you are running NetWare 3.X you might ...
>
>Is there any kind of program or Utility out on the market that would emulate
>the "su" that will run on Netware 2.15 ??  

Perhaps I missed something, but why not just make a batch file called "su"?
Or just use "login supervisor"?

The only bummer is if you "logout" of the switched too user's account, you
will not go back to the old user, but rather be logged out of the server.

Contents of my "su.bat":

@echo off
if "%1" == "" goto super 
n:login %1 
goto done
:super
n:login supervisor 
:done
exit


When I'm logined in as a user and what to "su" to supervisor, type "su"  
Just supply the password!

If I'm logged in as supervisor and want to go back, type "su user" and
supply a password.

John Harris
CAD Lab Supervisor
Portland State University
johnh@eecs.ee.pdx.edu