TWiki
>
CF Web
>
Research
>
ResearchGroups
>
ProgrammingLanguages
>
LabAccountsPLG
(2004-12-13,
MikePatterson
)
(raw view)
E
dit
A
ttach
Accounts are synced from plg2 by a script that's in the crontab. It's under /software/local_plg2.math.uwaterloo.ca/maintenance/sync-passwds. If a machine gets reinstalled, all you have to do is run that script. You can copy it and point it at a different host list if you only want to do one or two machines. Walter says all this does is copy the encrypted password strings, it doesn't change uids or gids or anything out from underneath you. This requires that root be able to log in without a password on the machine. This may also require changing ownership on files in the home directory (see attached script). When re-installing a machine, one needs to run "accounts-client host=hostname" from cscf.cs first, where hostname is the machine that's being reinstalled. This causes accounts to actually be created on the target machine. After that, the sync-passwords script that's run on plg2 will sync 'em up. This can be run by hand (or cut down to only sync the one machine). It seems to only sync two or three passwords at a time though, so multiple runs may be required. This is probably a bug.
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
sh
fixownership.sh
r1
manage
0.1 K
2004-10-25 - 13:10
MikePatterson
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r3 - 2004-12-13
-
MikePatterson
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