runInstaller fails if there is a dot(.) in the username/id
(Doc ID 2674672.1)
Last updated on APRIL 17, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 18.3.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
runInstaller fails immediately upon launching in 18c/19c Versions as below-
$ ./runInstaller
ERROR: Unable to run the setup script as user (<group name>). Run the setup script from a location where the Oracle Database software image is owned by user (<group name>).
ERROR: Unable to run the setup script as user (<group name>). Run the setup script from a location where the Oracle Database software image is owned by user (<group name>).
When checked,oracle user has a dot(.) as part of the username-
$ id
uid=8001(svc.oracle) gid=8000(oracle) groups=8000(oracle)
uid=8001(svc.oracle) gid=8000(oracle) groups=8000(oracle)
Changes
dot(.) is permissible as per POSIX Standards.man useradd states the below-
CAVEATS
Usernames may contain only lower and upper case letters, digits,
underscores, or dashes. They can end with a dollar sign.
Dashes are not allowed at the beginning of the username. Fully numeric
usernames and usernames . or .. are also
disallowed. It is not recommended to use usernames beginning with .
character as their home directories will be hidden in
the ls output. In regular expression terms:
[a-zA-Z0-9_.][a-zA-Z0-9_.-]*[$]?
Usernames may only be up to 32 characters long.
Usernames may contain only lower and upper case letters, digits,
underscores, or dashes. They can end with a dollar sign.
Dashes are not allowed at the beginning of the username. Fully numeric
usernames and usernames . or .. are also
disallowed. It is not recommended to use usernames beginning with .
character as their home directories will be hidden in
the ls output. In regular expression terms:
[a-zA-Z0-9_.][a-zA-Z0-9_.-]*[$]?
Usernames may only be up to 32 characters long.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |