the idea is to type "ntop" <enter> and run the application. I think that the -P hack is fine. If you want to change it (e.g. #ifdef HP user = ???) do that but I suggest not to remove it. My idea was not to make ntop insecure, just to ease its use.
Cheers, Luca
Burton M. Strauss III wrote:
We need to update ntop.8 and the generated .txt and .html files...
In some implementations (HP-UX), nobody is assigned a negative uid and you can't setuid() to it. I think it will fail and the code will catch it. Then again y'all know my issues w/ HP-UX...
Also, shouldn't we really check and make sure that the logon shell doesn't permit login... otherwise, ghu forbid somebody hacks the nobody or anonymous account??? I guess I'm uncomfortable that this opens up another reason for certain 'secure' OSes to dis ntop...
-----Burton
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Monday, March 31, 2003 9:11 AM To: [EMAIL PROTECTED] Subject: [Ntop-dev] New ntop commit (author deri)
Update of /export/home/ntop/ntop In directory jabber:/tmp/cvs-serv10070
Modified Files: globals-core.h globals-structtypes.h main.c util.c Log Message: Moved black/white list functions from the netflow plugin to util.c (this should ease their integration with other plugins such as sFlow).
Changed -u behaviour. If the -u flag is *not* specified, ntop looks for users "nobody" and (if not found) for "anonymous". This way, ntop will start as user with no privileges without having to specify -u. If -u is specified, ntop will change user as usual.
_______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
-- Luca Deri <[EMAIL PROTECTED]> http://luca.ntop.org/ Hacker: someone who loves to program and enjoys being clever about it - Richard Stallman
_______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
