When running NSH proxy, which user and role do I inherit? I would expect that the "id" command would tell me this, but it doesn't appear to reflect the proper role.
Here are three hypothetical situations.
First, I start nsh on my workstation. I am asked to pick a user and a role. Is that the user & role that I am using? ID doesn't agree.
+C:\Documents and Settings\jommen\My Documents\somecompany\bl_7.0.2\Doc>nsh
jommen% cd //someserver06
someserver06% cat //someserver/usr/lib/rsc/users.local
Copyright (c) 2001-2006 BladeLogic, Inc.
-- All Rights Reserved --
This file contains a list of user permission overrides. The permissions
defined in this file will override any associated permissions defined in the
"exports" or "users" file.
Please read the BladeLogicAdministration.pdf or "users" man page for details
on how to use this file.
someserver06% cat //someserver06/usr/lib/rsc/users
This file was automatically generated by the BladeLogic RBAC console.
Any changes to this file will be lost upon the next update by the RBAC
console. Local changes should be made in the users.local file
Date created: Wed Nov 08 10:39:59 PST 2006
Second, I change directory to a managed host. Since I am now communicating with a different host, has my environment changed? In other words, does the appserver examine the "exports" "users" and "users.local" file of the managed host when I "cd" into it?
Third, what if I do the same procedure, but I start from the app server itself? As I understand it, my user and role in that situation will be based on the user and role of the operating system login for the appserver (since the connection isn't proxied when you're on the app server.) See below:
+login as: jvan
blogic01% cd //someserver06
cd: no authorization to access host: //someserver06
uid=725(jvan) gid=725(jvan) groups=725(jvan),726(bladmin)