id: illegal option -- n When Configuring OHS to Listen on Privileged Port in 12c
(Doc ID 1609908.1)
Last updated on AUGUST 15, 2019
Applies to:Oracle HTTP Server - Version 184.108.40.206.0 and later
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)
The documentation for 12.1.2 OHS explaining how to have OHS run on priviliged ports (lower than 1024), lists this command to execute to create the .cab file:
echo `id -ng`: bind > /tmp/cap.ora
However, on Solaris the results of running this command can be as follows:
$ echo `id -ng`: bind > /tmp/cap.ora
id: illegal option -- n
What are the correct steps for Solaris to run OHS on privileged ports (443 and 80), if this error occurs?
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