grouper-users - RE: [grouper-users] Acting as a user in gsh?
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: Jeffrey Crawford <>
- Cc: Gouper Users List <>
- Subject: RE: [grouper-users] Acting as a user in gsh?
- Date: Sun, 18 Oct 2015 13:57:11 +0000
- Accept-language: en-US
Ok, so it work now. I was going to add it to the GSH wiki but its already there
J gsh 0% GrouperSession.startRootSession(); gsh 0% subj = findSubject("SD00125") subject: id='SD00125' type='person' source='kitn-person' name='Barton, Tom' gsh 1% sess = GrouperSession.start(subj) edu.internet2.middleware.grouper.GrouperSession: 29c40f97-9fb0-4e45-88bc-a14877a6c9b5,'SD00125','person' From: Jeffrey Crawford [mailto:]
The first line does seem to be required, if I don't include it SubjectFinder.findByIdAndSource fails with: So for future posterity if you want to act as yourself in gsh and your subjectid is G000000001 you execute the following: grouperSession = GrouperSession.startRootSession();
Jeffrey Both pilots and IT professionals require training and currency before charging into clouds! --------------------------------------- On Fri, Oct 16, 2015 at 5:46 PM, Chris Hyzer <> wrote: Are you on 2.2.2? Try
GrouperSession.start(myself); I don’t think you need the first line. Find the subject, and start the session. Let me know how
it goes Thanks, Chris From:
[mailto:]
On Behalf Of Jeffrey Crawford I was trying to execute gsh commands as myself to keep the audit log accurate for some operations that I knew might take too long to execute
over the ui: The following commands don't give me any errors but when I looked at the audit log afterwards it said that the operations were performed by "GrouperSysAdmin". Am I doing this wrong?
Jeffrey Both pilots and IT professionals require training and currency before charging into clouds! --------------------------------------- |
- [grouper-users] Acting as a user in gsh?, Jeffrey Crawford, 10/16/2015
- RE: [grouper-users] Acting as a user in gsh?, Chris Hyzer, 10/17/2015
- Re: [grouper-users] Acting as a user in gsh?, Jeffrey Crawford, 10/18/2015
- RE: [grouper-users] Acting as a user in gsh?, Chris Hyzer, 10/18/2015
- Re: [grouper-users] Acting as a user in gsh?, Jeffrey Crawford, 10/18/2015
- RE: [grouper-users] Acting as a user in gsh?, Chris Hyzer, 10/17/2015
Archive powered by MHonArc 2.6.16.