id: illegal option -- n When Configuring OHS to Listen on Privileged Port in 12c

(Doc ID 1609908.1)

Last updated on SEPTEMBER 18, 2017

Applies to:

Oracle HTTP Server - Version 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?


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms