Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for CreateUser (0.28 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. docs/multi-user/admin/README.md

    - Install MinIO - [MinIO Quickstart Guide](https://min.io/docs/minio/linux/index.html#quickstart-for-linux)
    
    ### 2. Create a new admin user with CreateUser, DeleteUser and ConfigUpdate permissions
    
    Use [`mc admin policy`](https://min.io/docs/minio/linux/reference/minio-mc-admin/mc-admin-policy.html#command-mc.admin.policy) to create custom admin policies.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. 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)
  5. cmd/kubeadm/app/util/users/users_linux_test.go

    			createEntry:    createUser,
    		},
    		{
    			name: "user entries are added (new line is appended)",
    			file: "foo:x:101:101:::/bin/false",
    			entries: []*entry{
    				{name: "bar", id: 102, gid: 102},
    			},
    			expectedOutput: "foo:x:101:101:::/bin/false\nbar:x:102:102:::/bin/false\n",
    			createEntry:    createUser,
    		},
    		{
    			name: "group entries are added",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 16.3K bytes
    - Viewed (0)
  6. helm-releases/minio-3.4.3.tgz

    active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 21 20:55:50 UTC 2021
    - 17.7K bytes
    - Viewed (0)
  7. helm-releases/minio-3.6.2.tgz

    active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 17 18:30:55 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  8. helm-releases/minio-4.0.3.tgz

    active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jul 08 06:16:22 UTC 2022
    - 18K bytes
    - Viewed (0)
  9. helm-releases/minio-5.0.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: Tue Oct 25 10:20:22 UTC 2022
    - 19.8K bytes
    - Viewed (0)
  10. helm-releases/minio-4.0.11.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 Aug 07 05:41:47 UTC 2022
    - 19.2K bytes
    - Viewed (0)
Back to top