Port NNNN is not secure: Difference between revisions
Jump to navigation
Jump to search
(added some detail) |
(reformat, use header template) |
||
Line 1: | Line 1: | ||
{{Troubleshooting | {{Troubleshooting Header}} | ||
=Problem= | |||
[[amcheck]] and other programs give the error: | [[amcheck]] and other programs give the error: | ||
Port ''nnn'' is not secure | Port ''nnn'' is not secure | ||
=Solution= | |||
Because `amcheck', as some other Amanda programs, must be installed as setuid-root. Run `make install' as `root', or `chown' all Amanda setuid programs to `root', then `chmod u+s' them again, if `chown' drops the setuid bit. | Because `amcheck', as some other Amanda programs, must be installed as setuid-root. Run `make install' as `root', or `chown' all Amanda setuid programs to `root', then `chmod u+s' them again, if `chown' drops the setuid bit. | ||
=Solution= | |||
When the Amanda server contacts a client, it requests one or more ports on the client for communication. Ordinarily, the client will respond with clients in the "secure" range (0 - 1023). If the client's configuration is different, or if it cannot allocate such a port (because it is not running as root), then this error will appear. | When the Amanda server contacts a client, it requests one or more ports on the client for communication. Ordinarily, the client will respond with clients in the "secure" range (0 - 1023). If the client's configuration is different, or if it cannot allocate such a port (because it is not running as root), then this error will appear. | ||
Revision as of 23:19, 22 May 2007
This article is a part of the Troubleshooting collection.
Problem
amcheck and other programs give the error:
Port nnn is not secure
Solution
Because `amcheck', as some other Amanda programs, must be installed as setuid-root. Run `make install' as `root', or `chown' all Amanda setuid programs to `root', then `chmod u+s' them again, if `chown' drops the setuid bit.
Solution
When the Amanda server contacts a client, it requests one or more ports on the client for communication. Ordinarily, the client will respond with clients in the "secure" range (0 - 1023). If the client's configuration is different, or if it cannot allocate such a port (because it is not running as root), then this error will appear.
See Also
Credits
This text was originally contributed to the AMANDA-FAQ-O-Matic by [email protected].