Content-type: text/html Man page of CIPUX_REFINE_HOMEDIR

CIPUX_REFINE_HOMEDIR

Section: User Commands (1)
Updated: August 5, 2005
Index Return to Main Contents
 

NAME

cipux_refine_homedir - restore or recreate a homedir  

SYNOPSIS

cipux_refine_homedir <MODE> <HOMEDIRPATH> <SKELUSER> <USER>
 

DESCRIPTION

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.  

OPTIONS

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.

MODE
1 = restore mode: rsync over the skel to the old homedir
2 = reset (recreate) mode: deletion of homedir, makeing of homedir and rsyncing.
HOMEDIRPATH
Path to the users homedir. Example: /skole/tjener/home0
SKELUSER
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.
USER
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

 

EXAMPLES

restore: 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

recreate/ reset: 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

 

SEE ALSO


 The other CipUX Documentation,
 http://www.cipux.org.

 

AUTHOR

cipux_refine_homedir was written by Martin Herweg <m.herweg@gmx.de>.

This manual page was written by Christian Kuelker <christian.kuelker@cipworx.org>, 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 02111-1307 USA


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
SEE ALSO
AUTHOR
COPYRIGHT AND LICENSE

This document was created by man2html, using the manual pages.
Time: 13:48:11 GMT, August 27, 2006