Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for CreateUser (0.52 sec)

  1. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            assertEquals("action:LOGIN\tuser:-\tpermissions:-", localLogMsg.get());
    
            activityHelper.login(createUser("testuser", new String[0]));
            assertEquals("action:LOGIN\tuser:testuser\tpermissions:-", localLogMsg.get());
    
            activityHelper.login(createUser("testuser", new String[] { "111", "222" }));
            assertEquals("action:LOGIN\tuser:testuser\tpermissions:111|222", localLogMsg.get());
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. helm/minio/templates/_helper_create_user.txt

    checkUserExists() {
      CMD=$(${MC} admin user info myminio $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) > /dev/null 2>&1)
      return $?
    }
    
    # createUser ($policy)
    createUser() {
      POLICY=$1
      #check accessKey_and_secretKey_tmp file
      if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then
        echo "credentials file does not exist"
        return 1
      fi
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 12 23:43:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/users/users_linux.go

    func createGroup(e *entry) string {
    	return fmt.Sprintf("%s:x:%d:%s", e.name, e.id, strings.Join(e.userNames, ","))
    }
    
    // createUser is a helper function to produce a user from entry.
    func createUser(e *entry) string {
    	return fmt.Sprintf("%s:x:%d:%d:::/bin/false", e.name, e.id, e.gid)
    }
    
    // entriesToEntryMap takes a list of entries and prepares an EntryMap object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  4. cmd/signature-v4-utils_test.go

    	}
    
    	ucreds, err := auth.CreateCredentials("myuser1", "mypassword1")
    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    	_, err = globalIAMSys.CreateUser(ctx, ucreds.AccessKey, madmin.AddOrUpdateUserReq{
    		SecretKey: ucreds.SecretKey,
    		Status:    madmin.AccountEnabled,
    	})
    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. helm-releases/minio-5.0.14.tgz

    return 0 } # checkUserExists () # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { CMD=$(${MC} admin user info myminio $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) > /dev/null 2>&1) return $? } # createUser ($policy) createUser() { POLICY=$1 #check accessKey_and_secretKey_tmp file if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then echo "credentials file does not exist" return 1 fi if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then echo "credentials...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 30 20:46:10 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  6. helm-releases/minio-5.0.15.tgz

    return 0 } # checkUserExists () # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { CMD=$(${MC} admin user info myminio $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) > /dev/null 2>&1) return $? } # createUser ($policy) createUser() { POLICY=$1 #check accessKey_and_secretKey_tmp file if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then echo "credentials file does not exist" return 1 fi if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then echo "credentials...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jan 12 18:18:57 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. helm-releases/minio-5.0.12.tgz

    return 0 } # checkUserExists () # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { CMD=$(${MC} admin user info myminio $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) > /dev/null 2>&1) return $? } # createUser ($policy) createUser() { POLICY=$1 #check accessKey_and_secretKey_tmp file if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then echo "credentials file does not exist" return 1 fi if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then echo "credentials...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jul 07 16:44:16 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  8. helm-releases/minio-5.0.13.tgz

    return 0 } # checkUserExists () # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { CMD=$(${MC} admin user info myminio $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) > /dev/null 2>&1) return $? } # createUser ($policy) createUser() { POLICY=$1 #check accessKey_and_secretKey_tmp file if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then echo "credentials file does not exist" return 1 fi if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then echo "credentials...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jul 09 07:13:05 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. helm-releases/minio-5.1.0.tgz

    return 0 } # checkUserExists () # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { CMD=$(${MC} admin user info myminio $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) > /dev/null 2>&1) return $? } # createUser ($policy) createUser() { POLICY=$1 #check accessKey_and_secretKey_tmp file if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then echo "credentials file does not exist" return 1 fi if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then echo "credentials...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 03 18:49:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  10. helm-releases/minio-5.2.0.tgz

    return 0 } # checkUserExists () # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { CMD=$(${MC} admin user info myminio $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) > /dev/null 2>&1) return $? } # createUser ($policy) createUser() { POLICY=$1 #check accessKey_and_secretKey_tmp file if [[ ! -f $MINIO_ACCESSKEY_SECRETKEY_TMP ]];then echo "credentials file does not exist" return 1 fi if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then echo "credentials...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 28 10:14:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top