Bernd Obermayr schrieb am Donnerstag, 28. Oktober 2004 08:34:
Torsten E. schrieb:
Guten Abend! :)
Nun habe ich soeben ntop installiert, und wollte es starten. Dabei kam es zu der (üblichen) Meldung, daß erst ein Kennwort gesetzt werden müßte. Also dies getan, aber die Meldung blieb: suse92:/etc/sysconfig # rcntop start Starting service ntop /usr/sbin/rcntop: line 69: 8034 Segmentation fault sudo -u $NTOP_USER /usr/sbin/passcheck
ntop admin password is not yet set. Run ntop -A -u wwwrun manually
unused suse92:/etc/sysconfig # which ntop /usr/bin/ntop suse92:/etc/sysconfig # /usr/bin/ntop -A -u wwwrun Wed Oct 27 22:37:32 2004 Initializing gdbm databases
Please enter the password for the admin user: Password too short (5 characters or more). Please try again. Please enter the password for the admin user: Please enter the password again: Wed Oct 27 22:37:40 2004 Admin user password has been set suse92:/etc/sysconfig # rcntop start Starting service ntop /usr/sbin/rcntop: line 69: 8045
Segmentation fault sudo -u $NTOP_USER /usr/sbin/passcheck
ntop admin password is not yet set. Run ntop -A -u wwwrun manually
unused suse92:/etc/sysconfig #
Anschließend habe ich ntop deinstalliert, und neu installiert, aber der Fehler bleibt.
Hat jemand zufällig eine Idee, woran es liegen kann?
Was steht in /etc/sudoers?
Es ist ein "jungfräuliches" ...: # sudoers file. # # This file MUST be edited with the 'visudo' command as root. # # See the sudoers man page for the details on how to write a sudoers file. # # Host alias specification # User alias specification # Cmnd alias specification # Defaults specification Defaults targetpw # ask for the password of the target user i.e. root %users ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'! # User privilege specification # You should not use sudo as root in an SELinux environment # If you use SELinux, remove the following line root ALL=(ALL) ALL # Uncomment to allow people in group wheel to run all commands # %wheel ALL=(ALL) ALL # Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL # Samples # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom # %users localhost=/sbin/shutdown -h now
-- Gruss Bernd
Gruß Torsten