Man page of CIPUX_REFINE_HOMEDIR
Section: User Commands (1)
Updated: August 5, 2005
Return to Main Contents
cipux_refine_homedir - restore or recreate a homedir
cipux_refine_homedir <MODE> <HOMEDIRPATH> <SKELUSER> <USER>
This manual page documents briefly the cipux_refine_homedir command.
cipux_refine_homedir is a program that
restores or recreate a homedir
of a given user on the base of a given skel dir.
This program does NOT follow the usual GNU command line syntax, with long
options starting with two dashes (`-'). It uses a plain syntax with no dashes.
The order does matter.
A summary of options is included below.
1 = restore mode: rsync over the skel to the old homedir
2 = reset (recreate) mode: deletion of homedir, makeing of homedir and rsyncing.
Path to the users homedir. Example: /skole/tjener/home0
The skel-user is a specific user. His homedir will be used as a skel dir.
For example: SKELUSER = teacher, this means that HOMEDIRPATH/teacher is
the skel dir for the user whos homedir will be changed.
The user for which this action is valid. An example for the teacher
(skel-user) mherweg (user):
restore (MODE=1) means, that the skel HOMDIRPATH/teacher will be rsynced
with the homedir HOMEDIRPATH/mherweg
Someone whould like to restore the homedir of the teacher mherweg on
a Debian-Edu System:
cipux_refine_homedir 1 /skole/tjener/home0 teacher mherweg
The student Bilbo has totaly screwed up his homedir, which he
may not repair by himself nor may be restored by rsync (rare case indeed!).
If the login of Bilbo is bibeutlin here is the solution:.
cipux_refine_homedir 2 /skole/tjener/home0 student bibeutlin
The other CipUX Documentation,
cipux_refine_homedir was written by Martin Herweg <firstname.lastname@example.org>.
This manual page was written by Christian Kuelker <email@example.com>,
for the Debian project (but may be used by others).
COPYRIGHT AND LICENSE
Copyright (C) 2000-2100 by Martin Herweg
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2, or (at
your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- SEE ALSO
- COPYRIGHT AND LICENSE
This document was created by
using the manual pages.
Time: 13:48:11 GMT, August 27, 2006