For shell script which installs a daemon I need to make sure that the newly created daemon user has the rights to use the port range that is needed for a daemon. How can I check this?
Asked
Active
Viewed 64 times
1
-
The script is not relevant to answer your question, right? – user1978011 May 08 '15 at 09:09
-
yup ...its just a shellscript to to install proftpd...and add user.. – Briston K Sunny May 08 '15 at 09:22
-
I dont know the logic of my question ...thats the problem dude.... – Briston K Sunny May 08 '15 at 09:23
1 Answers
0
Use netstat /a /n
to find the first free port in the dynamic/private ports range: 49152-65535.

boardrider
- 5,882
- 7
- 49
- 86