Port NNNN is not secure: Difference between revisions
(added some detail) |
(man links) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Troubleshooting | {{Troubleshooting Header}} | ||
=Problem= | |||
{{man|8|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. | ||
Latest revision as of 23:37, 30 June 2008
This article is a part of the Troubleshooting collection.
Problem
amcheck(8) 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].