TWiki
>
CF Web
>
Accounts
>
SponsorsDataAccounts
>
AccountsUserinfoCommand
(2015-01-16,
AdrianPepper
)
(raw view)
E
dit
A
ttach
---+ userinfo command _Although the =userinfo= command is available for use by all users,_ _with different results, the intended audience for this page is the_ _group of privileged users who can make changes using the_ _[[SponsorsDataAccounts][sponsors data]]_ _mechanism_. %TOC% The _[[%CFMANURL%?page=userinfo][userinfo]]_ command is the _ls_ of _[[SponsorsDataAccounts][sponsors data]]_. ---++ =userinfo= on accounts master machine (cs-xh-admin.cs.private.uwaterloo.ca) Before and after you make changes to the sponsors data you should run the command on the accounts maintenance host (=cs-xh-admin.cs.private.uwaterloo.ca=) and verify that its output reflects your intended changes. Its output also reveals what it can of details of the given userid in uwdir. The amount and type of information you see depends both upon how privileged you are, and upon what information is available on the machine where you run the command. Here is what a member of group =accounts= would see on =cs-xh-admin.cs.private.uwaterloo.ca= for fictional userid =bbaggins=. <pre> cs-xh-admin% userinfo bbaggins Userid: bbaggins Id Number: e01010101 Name: Baggins, Bilbo Sponsored: printer ljp_cs: Rbb001(-1) Sponsored: computing canadenis.student.cs: Teaching(0;cs_instructor,student_cs) Sponsored: computing cs-general.cs.private: Rbb001(5000000) Sponsored: computing serverus.cs: Rbb001(0;faculty_cs,general_cs) Sponsored: computing cs-teaching.cs.private: Teaching(0) ---------------------------------------- uwdir No person matches your query. ---------------------------------------- uwdir ? ? ? Surname: Baggins Given Name(s): Bilbo Nick Name(s): Brave Department: School of Computer Science Office: DC 4201 Phone: 519-888-4567 x39999 Email: bbaggins@bagend.uwaterloo.ca Visible: Y Employee Id(s): 01010101 UWuserid: bbaggins cs-xh-admin% </pre> Beware that, in real cases, much of that information is very sensitive. The value shown as "Id Number:" is the value you must associate with the userid for use in sponsors data =AssignTo:= statements. Perhaps see also notes about [[IncludeSponsorsDataCreatingUserids][Creating Userids]]. The lines relevant to resource changes are the ones beginning *Sponsored:*. Mr. Baggins appears to have... <pre> Sponsored: printer ljp_cs: Rbb001(-1) Sponsored: computing canadenis.student.cs: Teaching(0;cs_instructor,student_cs) Sponsored: computing cs-general.cs.private: Rbb001(5000000) Sponsored: computing serverus.cs: Rbb001(0;faculty_cs,general_cs) Sponsored: computing cs-teaching.cs.private: Teaching(0) </pre> * unlimited printing quota on printer =ljp_cs= * group membership =cs_instructor= and =student_cs= in region =canadenis.student.cs= * 5000000 kilobytes of extra disk quota in region =cs-general.cs.private= * group membership =faculty_cs= and =general_cs= in region =serverus.cs= * an account with no extra resources in region =cs-teaching.cs.private= =Rbb001= and =Teaching= refer to the theoretically billable monetary _accounts_, which correspond in name to the =Class:= directives in the sponsors data, unless the name is overridden by an =Account:= attribute. Note that if the given _userid_ does not exist you do not get an error message; instead you merely no output. <pre> cs-xh-admin% userinfo sauron cs-xh-admin% </pre> When you get a result like that, check that you entered the _userid_ correctly. If you get a result like that, but you need to create resources for _userid_, you need to follow the instructions for [[IncludeSponsorsDataCreatingUserids][Creating Userids]]. ---++ =userinfo= on accounts client machines (e.g. cs-general.cs.private.uwaterloo.ca) Here is what a member of group =accounts= would see on =cs-general.cs.private.uwaterloo.ca= for the same fictional userid =bbaggins=. <pre> cs-general% userinfo bbaggins Userid: bbaggins Id Number: e01010101 ---------------------------------------- cs-general account Admin: sponsor-cscf Created: 1999/11/04 Classes: basic(20000000),Rbb001(5000000)2006/05/24 Disk Quota: 25,000 megabytes Filesystem: fs-homedirs.cs:/u4 Name: Baggins, Bilbo Groups: bbaggins Shell: /xhbin/tcsh Finger: Bilbo Baggins,Bag End Hobbiton,x30303,555-1000 Forward: bbaggins@mailservices.uwaterloo.ca Password: AD-only Last Login: cscfpc20.cs.uwa (pts/6) Tue Jul 27 16:28:07 2010 cs-general% </pre> -- Main.AdrianPepper - 18 Dec 2014
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r9
<
r8
<
r7
<
r6
<
r5
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r9 - 2015-01-16
-
AdrianPepper
CF
Information in this area is meant for use by CSCF staff and is not official documentation, but anybody who is interested is welcome to use it if they find it useful.
CF Web
CF Web Home
Changes
Index
Search
Administration
Communication
Email
Hardware
HelpDeskGuide
Infrastructure
InternalProjects
Linux
MachineNotes
Macintosh
Management
Networking
Printing
Research
Security
Software
Solaris
StaffStuff
TaskGroups
TermGoals
Teaching
UserSupport
Vendors
Windows
XHier
Other Webs
CSEveryBody
Main
Sandbox
TWiki
UW
My links
People
CERAS
WatForm
Tetherless lab
Ubuntu Main.HowTo
eDocs
RGG NE notes
RGG
CS infrastructure
Grad images
Edit
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback