Project

General

Profile

« Previous | Next » 

Revision 8504

Added by Jing Tao over 10 years ago

Add a note to the administrator to tell the name format of groups and users.

View differences:

src/edu/ucsb/nceas/metacat/authentication/AuthFile.java
978 978
                        "./authFileManager.sh usermod -password -dn user-distinguish-name -h new-hashed-password\n"+
979 979
                        "./authFileManager.sh usermod -group -a -dn user-distinguish-name -g added-group-name\n" +
980 980
                        "./authFileManager.sh usermod -group -r -dn user-distinguish-name -g removed-group-name\n"+
981
                        "Note:\n1. if a value of an option has spaces, the value should be enclosed by the double quotes.\n"+
981
                        "Note:\n"+"1. The user-distinguish-name must look like \"uid=john,o=something,dc=something,dc=something\" and the group-name must look like \"cn=dev,o=something,dc=something,dc=something\".\n"+
982
                        "2. if a value of an option has spaces, the value should be enclosed by the double quotes.\n"+
982 983
                        "  For example: ./authFileManager.sh groupadd -g nceas-dev -d \"Developers at NCEAS\"\n"+
983
                        "2. \"-d description\" in groupadd is optional; \"-g groupname -e email-address -s surname -f given-name -o organizationName\" in useradd are optional as well.");
984
                        "3. \"-d description\" in groupadd is optional; \"-g groupname -e email-address -s surname -f given-name -o organizationName\" in useradd are optional as well.");
984 985
                       
985 986
                        
986 987
    }

Also available in: Unified diff