(self)
Fill in values for user to be used in the account creation.
        Provide default values in case the required fields are empty.
Fill in values for user to be used in the account creation.
        Provide default values in case the required fields are empty.
Fill in values for user to be used in the account creation . Provide default values in case the required fields are empty .
def _fill_user(self):
        """Fill in values for user to be used in the account creation.
        Provide default values in case the required fields are empty.
        """
        if not self.opt["uid"]:
            self.opt["uid"] = str(HostInfo.uid)
        if not self.opt["gid"]:
            self.opt["gid"] = str(HostInfo.gid)
        if not self.opt["user"]:
            self.opt["user"] = "udoc" + self.opt["uid"][0:4]
        if self.opt["bindhome"]:
            self.opt["home"] = NixAuthentication().get_home()
        if not self.opt["home"]:
            self.opt["home"] = '/'
        if not self.opt["shell"]:
            self.opt["shell"] = "/bin/sh"
        if not self.opt["gecos"]:
            self.opt["gecos"] = "*UDOCKER*"
def _fill_user ( self ) : if not self . opt [ "uid" ] : self . opt [ "uid" ] = str ( HostInfo . uid ) if not self . opt [ "gid" ] : self . opt [ "gid" ] = str ( HostInfo . gid ) if not self . opt [ "user" ] : self . opt [ "user" ] = "udoc" + self . opt [ "uid" ] [ 0 : 4 ] if self . opt [ "bindhome" ] : self . opt [ "home" ] = NixAuthentication ( ) . get_home ( ) if not self . opt [ "home" ] : self . opt [ "home" ] = '/' if not self . opt [ "shell" ] : self . opt [ "shell" ] = "/bin/sh" if not self . opt [ "gecos" ] : self . opt [ "gecos" ] = "*UDOCKER*"