jk_addjailuser man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

jk_addjailuser(8)		jk_addjailuser		     jk_addjailuser(8)

NAME
       jk_addjailuser  -  a utility to add a new user to the password database
       in /etc/ as well as in JAIL/etc/

DEPRECATED
       jk_addjailuser is deprecated and will  be  removed  from	 jailkit.  The
       functionality is replaced by jk_jailuser

SYNOPSIS
       jk_addjailuser [OPTIONS] chrootdir username

       jk_addjailuser  [-c  comment]  [-d home_dir] [-e expire_date] [-f inac‐
       tive_time] [-g initial_group] [-G group[,...]] [-m  [-k	skeleton_dir]]
       [-o] [-p passwd] [-s shell] [-u uid] username

DESCRIPTION
       The  jk_addjailuser  utility creates a new user that will have a jailed
       shell. It will add the user to /etc/passwd (or equivalent on  BSD  like
       systems) using the useradd command with homedir /chrootdir/./home/user‐
       name and shell jk_chrootsh It  will  also  add  the  user  to  /chroot‐
       dir/etc/passwd (or equivalent) with homedir /home/username

       Most  of	 the  options  are passed to useradd Check useradd(8) for more
       info.

OPTIONS
       -v     Will give verbose output

       -h     The help screen

       -c comment
	      Comment

       -d dir Home dir

       -e date
	      Expire_date

       -f days
	      Inactive time

       -g group
	      Initial group

       -G group1,group1,...
	      Additional groups

       -m     Create homedir

       -k dir Skeleton dir

       -o     Allow duplicate uid

       -p passwd
	      Encrypted password

       -s shell
	      Shell

       -u uid User id

SEE ALSO
       jailkit(8)  jk_check(8)	jk_chrootlaunch(8)   jk_chrootsh(8)   jk_cp(8)
       jk_init(8)  jk_jailuser(8)  jk_list(8)  jk_lsh(8) jk_procmailwrapper(8)
       jk_socketd(8) jk_uchroot(8) jk_update(8) chroot(2) useradd(8)

COPYRIGHT
       Copyright (C) 2003, 2004, 2005, 2006, 2007, Olivier Sessink

       Copying and distribution of this file, with  or	without	 modification,
       are  permitted  in  any	medium	without royalty provided the copyright
       notice and this notice are preserved.

JAILKIT				  07-02-2010		     jk_addjailuser(8)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net