Pages : 1
Discussion fermée
#1 Le 31/03/2010, à 18:36
- Bayoro
Chmod et Chown
Bonsoir a tous
Je viens a vous pour etre eclairé sur les deux commandes que je tape .
Je travail actuelement sur Nagios et Centreon et je suis confronté a un problème d e droit .
Voic mon fichier
-rw-rw-r-- 1 root nagios 1395 2010-03-25 02:15 centreon.conf
-rwxr-xr-x 1 root root 3591 2010-03-25 02:15 centreon.pm
-rwxr-xr-x 1 root root 77398 2010-03-22 16:35 check_apt
-rwxr-xr-x 1 root root 2254 2010-03-22 16:35 check_breeze
-rwxr-xr-x 1 root root 90920 2010-03-22 16:35 check_by_ssh
-rwxr-xr-x 1 root root 3506 2010-03-25 02:15 check_centreon_dummy
-rwxr-xr-x 1 root root 8986 2010-03-25 02:15 check_centreon_MS_multiple_services
-rwxr-xr-x 1 root root 7185 2010-03-25 02:15 check_centreon_ping
-rwxr-xr-x 1 root root 7903 2010-03-25 02:15 check_centreon_snmp_cpu
-rwxr-xr-x 1 root root 7747 2010-03-25 02:15 check_centreon_snmp_loadaverage
-rwxr-xr-x 1 root root 10699 2010-03-25 02:15 check_centreon_snmp_memory
-rwxr-xr-x 1 root root 8847 2010-03-25 02:15 check_centreon_snmp_multiple_process
-rwxr-xr-x 1 root root 8948 2010-03-25 02:15 check_centreon_snmp_packetErrors
-rwxr-xr-x 1 root root 8134 2010-03-25 02:15 check_centreon_snmp_process
-rwxr-xr-x 1 root root 20316 2010-03-25 02:15 check_centreon_snmp_process_detailed
-rwxr-xr-x 1 root root 15187 2010-03-25 02:15 check_centreon_snmp_remote_storage
-rwxr-xr-x 1 root root 5430 2010-03-25 02:15 check_centreon_snmp_TcpConn
-rwxr-xr-x 1 root root 16869 2010-03-25 02:15 check_centreon_snmp_traffic
-rwxr-xr-x 1 root root 6112 2010-03-25 02:15 check_centreon_snmp_uptime
-rwxr-xr-x 1 root root 7643 2010-03-25 02:15 check_centreon_snmp_value
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_clamd -> check_tcp
-rwxr-xr-x 1 root root 51541 2010-03-22 16:35 check_cluster
-r-sr-xr-x 1 root root 90912 2010-03-22 16:35 check_dhcp
-rwxr-xr-x 1 root root 84714 2010-03-22 16:35 check_dig
-rwxr-xr-x 1 root root 113768 2010-03-22 16:35 check_disk
-rwxr-xr-x 1 root root 8080 2010-03-22 16:35 check_disk_smb
-rwxr-xr-x 1 root root 92045 2010-03-22 16:35 check_dns
-rwxr-xr-x 1 root root 44510 2010-03-22 16:35 check_dummy
-rwxr-xr-x 1 root root 3056 2010-03-22 16:35 check_file_age
-rwxr-xr-x 1 root root 6318 2010-03-22 16:35 check_flexlm
-rwxr-xr-x 1 root root 91056 2010-03-22 16:35 check_fping
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_ftp -> check_tcp
-rwxr-xr-x 1 root root 85613 2010-03-22 16:35 check_hpjd
-rwxr-xr-x 1 root root 184522 2010-03-22 16:35 check_http
-r-sr-xr-x 1 root root 95971 2010-03-22 16:35 check_icmp
-rwxr-xr-x 1 root root 60090 2010-03-22 16:35 check_ide_smart
-rwxr-xr-x 1 root root 15137 2010-03-22 16:35 check_ifoperstatus
-rwxr-xr-x 1 root root 12523 2010-03-22 16:35 check_ifstatus
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_imap -> check_tcp
-rwxr-xr-x 1 root root 7355 2010-03-22 16:35 check_ircd
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_jabber -> check_tcp
-rwxr-xr-x 1 root root 72237 2010-03-22 16:35 check_ldap
lrwxrwxrwx 1 root root 10 2010-03-22 16:35 check_ldaps -> check_ldap
-rwxr-xr-x 1 root root 70418 2010-03-22 16:35 check_load
-rwxr-xr-x 1 root root 6026 2010-03-22 16:35 check_log
-rwxr-xr-x 1 root root 20287 2010-03-22 16:35 check_mailq
-rwxr-xr-x 1 root root 9728 2010-03-25 02:15 check_meta_service
-rwxr-xr-x 1 root root 57934 2010-03-22 16:35 check_mrtg
-rwxr-xr-x 1 root root 57729 2010-03-22 16:35 check_mrtgtraf
-rwxr-xr-x 1 root root 86831 2010-03-22 16:35 check_mysql
-rwxr-xr-x 1 root root 80435 2010-03-22 16:35 check_mysql_query
-rwxr-xr-x 1 root root 70179 2010-03-22 16:35 check_nagios
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_nntp -> check_tcp
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_nntps -> check_tcp
-rwxr-xr-x 1 root root 88750 2010-03-22 16:35 check_nt
-rwxr-xr-x 1 root root 89472 2010-03-22 16:35 check_ntp
-rwxr-xr-x 1 root root 83456 2010-03-22 16:35 check_ntp_peer
-rwxr-xr-x 1 root root 78558 2010-03-22 16:35 check_ntp_time
-rwxr-xr-x 1 root root 109548 2010-03-22 16:35 check_nwstat
-rwxr-xr-x 1 root root 8326 2010-03-22 16:35 check_oracle
-rwxr-xr-x 1 root root 72544 2010-03-22 16:35 check_overcr
-rwxr-xr-x 1 root root 95781 2010-03-22 16:35 check_ping
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_pop -> check_tcp
-rwxr-xr-x 1 root root 94619 2010-03-22 16:35 check_procs
-rwxr-xr-x 1 root root 71523 2010-03-22 16:35 check_real
-rwxr-xr-x 1 root root 9584 2010-03-22 16:35 check_rpc
-rwxr-xr-x 1 root root 1137 2010-03-22 16:35 check_sensors
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_simap -> check_tcp
-rwxr-xr-x 1 root root 134697 2010-03-22 16:35 check_smtp
-rwxr-xr-x 1 root root 128297 2010-03-22 16:35 check_snmp
-rwxr-xr-x 1 root root 15626 2010-03-25 02:15 check_snmp_cpfw.pl
-rwxr-xr-x 1 root root 22839 2010-03-25 02:15 check_snmp_load.pl
-rwxr-xr-x 1 root root 18734 2010-03-25 02:15 check_snmp_mem.pl
-rwxr-xr-x 1 root root 26182 2010-03-25 02:15 check_snmp_process.pl
-rwxr-xr-x 1 root root 5889 2010-03-25 02:15 check_snmp_processus_loaded.pl
-rwxr-xr-x 1 root root 6306 2010-03-25 02:15 check_snmp_script_result.pl
-rwxr-xr-x 1 root root 25483 2010-03-25 02:15 check_snmp_storage.pl
-rwxr-xr-x 1 root root 12069 2010-03-25 02:15 check_snmp_win.pl
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_spop -> check_tcp
-rwxr-xr-x 1 root root 67270 2010-03-22 16:35 check_ssh
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_ssmtp -> check_tcp
-rwxr-xr-x 1 root root 70752 2010-03-22 16:35 check_swap
-rwxr-xr-x 1 root root 114157 2010-03-22 16:35 check_tcp
-rwxr-xr-x 1 root root 67401 2010-03-22 16:35 check_time
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_udp -> check_tcp
-rwxr-xr-x 1 root root 80287 2010-03-22 16:35 check_ups
-rwxr-xr-x 1 root root 68689 2010-03-22 16:35 check_users
-rwxr-xr-x 1 root root 2939 2010-03-22 16:35 check_wave
-rwxr-xr-x 1 root root 70137 2010-03-22 16:35 negate
-rwxr-xr-x 1 root root 2417 2010-03-25 02:15 process-service-perfdata
-rwxr-xr-x 1 root root 2997 2010-03-25 02:15 submit_host_check_result
-rwxr-xr-x 1 root root 3107 2010-03-25 02:15 submit_service_check_result
-rwxr-xr-x 1 root root 68276 2010-03-22 16:35 urlize
-rwxr-xr-x 1 root root 1938 2010-03-22 16:35 utils.pm
-rwxr-xr-x 1 root root 862 2010-03-22 16:35 utils.sh
root@bayoro-laptop:/usr/local/nagios/libexec# cd
root@bayoro-laptop:~# cd /usr/local/nagios/libexec
root@bayoro-laptop:/usr/local/nagios/libexec# ls
centreon.conf check_hpjd check_real
centreon.pm check_http check_rpc
check_apt check_icmp check_sensors
check_breeze check_ide_smart check_simap
check_by_ssh check_ifoperstatus check_smtp
check_centreon_dummy check_ifstatus check_snmp
check_centreon_MS_multiple_services check_imap check_snmp_cpfw.pl
check_centreon_ping check_ircd check_snmp_load.pl
check_centreon_snmp_cpu check_jabber check_snmp_mem.pl
check_centreon_snmp_loadaverage check_ldap check_snmp_process.pl
check_centreon_snmp_memory check_ldaps check_snmp_processus_loaded.pl
check_centreon_snmp_multiple_process check_load check_snmp_script_result.pl
check_centreon_snmp_packetErrors check_log check_snmp_storage.pl
check_centreon_snmp_process check_mailq check_snmp_win.pl
check_centreon_snmp_process_detailed check_meta_service check_spop
check_centreon_snmp_remote_storage check_mrtg check_ssh
check_centreon_snmp_TcpConn check_mrtgtraf check_ssmtp
check_centreon_snmp_traffic check_mysql check_swap
check_centreon_snmp_uptime check_mysql_query check_tcp
check_centreon_snmp_value check_nagios check_time
check_clamd check_nntp check_udp
check_cluster check_nntps check_ups
check_dhcp check_nt check_users
check_dig check_ntp check_wave
check_disk check_ntp_peer negate
check_disk_smb check_ntp_time process-service-perfdata
check_dns check_nwstat submit_host_check_result
check_dummy check_oracle submit_service_check_result
check_file_age check_overcr urlize
check_flexlm check_ping utils.pm
check_fping check_pop utils.sh
check_ftp check_procs
root@bayoro-laptop:/usr/local/nagios/libexec# ls -l
total 3940
-rw-rw-r-- 1 root nagios 1395 2010-03-25 02:15 centreon.conf
-rwxr-xr-x 1 root root 3591 2010-03-25 02:15 centreon.pm
-rwxr-xr-x 1 root root 77398 2010-03-22 16:35 check_apt
-rwxr-xr-x 1 root root 2254 2010-03-22 16:35 check_breeze
-rwxr-xr-x 1 root root 90920 2010-03-22 16:35 check_by_ssh
-rwxr-xr-x 1 root root 3506 2010-03-25 02:15 check_centreon_dummy
-rwxr-xr-x 1 root root 8986 2010-03-25 02:15 check_centreon_MS_multiple_services
-rwxr-xr-x 1 root root 7185 2010-03-25 02:15 check_centreon_ping
-rwxr-xr-x 1 root root 7903 2010-03-25 02:15 check_centreon_snmp_cpu
-rwxr-xr-x 1 root root 7747 2010-03-25 02:15 check_centreon_snmp_loadaverage
-rwxr-xr-x 1 root root 10699 2010-03-25 02:15 check_centreon_snmp_memory
-rwxr-xr-x 1 root root 8847 2010-03-25 02:15 check_centreon_snmp_multiple_process
-rwxr-xr-x 1 root root 8948 2010-03-25 02:15 check_centreon_snmp_packetErrors
-rwxr-xr-x 1 root root 8134 2010-03-25 02:15 check_centreon_snmp_process
-rwxr-xr-x 1 root root 20316 2010-03-25 02:15 check_centreon_snmp_process_detailed
-rwxr-xr-x 1 root root 15187 2010-03-25 02:15 check_centreon_snmp_remote_storage
-rwxr-xr-x 1 root root 5430 2010-03-25 02:15 check_centreon_snmp_TcpConn
-rwxr-xr-x 1 root root 16869 2010-03-25 02:15 check_centreon_snmp_traffic
-rwxr-xr-x 1 root root 6112 2010-03-25 02:15 check_centreon_snmp_uptime
-rwxr-xr-x 1 root root 7643 2010-03-25 02:15 check_centreon_snmp_value
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_clamd -> check_tcp
-rwxr-xr-x 1 root root 51541 2010-03-22 16:35 check_cluster
-r-sr-xr-x 1 root root 90912 2010-03-22 16:35 check_dhcp
-rwxr-xr-x 1 root root 84714 2010-03-22 16:35 check_dig
-rwxr-xr-x 1 root root 113768 2010-03-22 16:35 check_disk
-rwxr-xr-x 1 root root 8080 2010-03-22 16:35 check_disk_smb
-rwxr-xr-x 1 root root 92045 2010-03-22 16:35 check_dns
-rwxr-xr-x 1 root root 44510 2010-03-22 16:35 check_dummy
-rwxr-xr-x 1 root root 3056 2010-03-22 16:35 check_file_age
-rwxr-xr-x 1 root root 6318 2010-03-22 16:35 check_flexlm
-rwxr-xr-x 1 root root 91056 2010-03-22 16:35 check_fping
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_ftp -> check_tcp
-rwxr-xr-x 1 root root 85613 2010-03-22 16:35 check_hpjd
-rwxr-xr-x 1 root root 184522 2010-03-22 16:35 check_http
-r-sr-xr-x 1 root root 95971 2010-03-22 16:35 check_icmp
-rwxr-xr-x 1 root root 60090 2010-03-22 16:35 check_ide_smart
-rwxr-xr-x 1 root root 15137 2010-03-22 16:35 check_ifoperstatus
-rwxr-xr-x 1 root root 12523 2010-03-22 16:35 check_ifstatus
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_imap -> check_tcp
-rwxr-xr-x 1 root root 7355 2010-03-22 16:35 check_ircd
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_jabber -> check_tcp
-rwxr-xr-x 1 root root 72237 2010-03-22 16:35 check_ldap
lrwxrwxrwx 1 root root 10 2010-03-22 16:35 check_ldaps -> check_ldap
-rwxr-xr-x 1 root root 70418 2010-03-22 16:35 check_load
-rwxr-xr-x 1 root root 6026 2010-03-22 16:35 check_log
-rwxr-xr-x 1 root root 20287 2010-03-22 16:35 check_mailq
-rwxr-xr-x 1 root root 9728 2010-03-25 02:15 check_meta_service
-rwxr-xr-x 1 root root 57934 2010-03-22 16:35 check_mrtg
-rwxr-xr-x 1 root root 57729 2010-03-22 16:35 check_mrtgtraf
-rwxr-xr-x 1 root root 86831 2010-03-22 16:35 check_mysql
-rwxr-xr-x 1 root root 80435 2010-03-22 16:35 check_mysql_query
-rwxr-xr-x 1 root root 70179 2010-03-22 16:35 check_nagios
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_nntp -> check_tcp
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_nntps -> check_tcp
-rwxr-xr-x 1 root root 88750 2010-03-22 16:35 check_nt
-rwxr-xr-x 1 root root 89472 2010-03-22 16:35 check_ntp
-rwxr-xr-x 1 root root 83456 2010-03-22 16:35 check_ntp_peer
-rwxr-xr-x 1 root root 78558 2010-03-22 16:35 check_ntp_time
-rwxr-xr-x 1 root root 109548 2010-03-22 16:35 check_nwstat
-rwxr-xr-x 1 root root 8326 2010-03-22 16:35 check_oracle
-rwxr-xr-x 1 root root 72544 2010-03-22 16:35 check_overcr
-rwxr-xr-x 1 root root 95781 2010-03-22 16:35 check_ping
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_pop -> check_tcp
-rwxr-xr-x 1 root root 94619 2010-03-22 16:35 check_procs
-rwxr-xr-x 1 root root 71523 2010-03-22 16:35 check_real
-rwxr-xr-x 1 root root 9584 2010-03-22 16:35 check_rpc
-rwxr-xr-x 1 root root 1137 2010-03-22 16:35 check_sensors
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_simap -> check_tcp
-rwxr-xr-x 1 root root 134697 2010-03-22 16:35 check_smtp
-rwxr-xr-x 1 root root 128297 2010-03-22 16:35 check_snmp
-rwxr-xr-x 1 root root 15626 2010-03-25 02:15 check_snmp_cpfw.pl
-rwxr-xr-x 1 root root 22839 2010-03-25 02:15 check_snmp_load.pl
-rwxr-xr-x 1 root root 18734 2010-03-25 02:15 check_snmp_mem.pl
-rwxr-xr-x 1 root root 26182 2010-03-25 02:15 check_snmp_process.pl
-rwxr-xr-x 1 root root 5889 2010-03-25 02:15 check_snmp_processus_loaded.pl
-rwxr-xr-x 1 root root 6306 2010-03-25 02:15 check_snmp_script_result.pl
-rwxr-xr-x 1 root root 25483 2010-03-25 02:15 check_snmp_storage.pl
-rwxr-xr-x 1 root root 12069 2010-03-25 02:15 check_snmp_win.pl
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_spop -> check_tcp
-rwxr-xr-x 1 root root 67270 2010-03-22 16:35 check_ssh
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_ssmtp -> check_tcp
-rwxr-xr-x 1 root root 70752 2010-03-22 16:35 check_swap
-rwxr-xr-x 1 root root 114157 2010-03-22 16:35 check_tcp
-rwxr-xr-x 1 root root 67401 2010-03-22 16:35 check_time
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_udp -> check_tcp
-rwxr-xr-x 1 root root 80287 2010-03-22 16:35 check_ups
-rwxr-xr-x 1 root root 68689 2010-03-22 16:35 check_users
-rwxr-xr-x 1 root root 2939 2010-03-22 16:35 check_wave
-rwxr-xr-x 1 root root 70137 2010-03-22 16:35 negate
-rwxr-xr-x 1 root root 2417 2010-03-25 02:15 process-service-perfdata
-rwxr-xr-x 1 root root 2997 2010-03-25 02:15 submit_host_check_result
-rwxr-xr-x 1 root root 3107 2010-03-25 02:15 submit_service_check_result
-rwxr-xr-x 1 root root 68276 2010-03-22 16:35 urlize
-rwxr-xr-x 1 root root 1938 2010-03-22 16:35 utils.pm
-rwxr-xr-x 1 root root 862 2010-03-22 16:35 utils.sh
root@bayoro-laptop:/usr/local/nagios/libexec# chmod 775 /usr/local/nagios/libexec
root@bayoro-laptop:/usr/local/nagios/libexec# chown nagios:nagios /usr/local/nagios/libexec
root@bayoro-laptop:/usr/local/nagios/libexec# cd /tmp
root@bayoro-laptop:/tmp# ls
3528.jsvc_up keyring-eBXt0A pulse-2dZy9ypqjKEO seahorse-xe8WOJ tomcat6-temp
hsperfdata_tomcat6 orbit-bayoro pulse-PKdhtXMmr18n ssh-GTrjHq3714 virtual-bayoro.WjtmBU
root@bayoro-laptop:/tmp# cd
root@bayoro-laptop:~# cd /usr/local/nagios/libexec
root@bayoro-laptop:/usr/local/nagios/libexec# ls
centreon.conf check_hpjd check_real
centreon.pm check_http check_rpc
check_apt check_icmp check_sensors
check_breeze check_ide_smart check_simap
check_by_ssh check_ifoperstatus check_smtp
check_centreon_dummy check_ifstatus check_snmp
check_centreon_MS_multiple_services check_imap check_snmp_cpfw.pl
check_centreon_ping check_ircd check_snmp_load.pl
check_centreon_snmp_cpu check_jabber check_snmp_mem.pl
check_centreon_snmp_loadaverage check_ldap check_snmp_process.pl
check_centreon_snmp_memory check_ldaps check_snmp_processus_loaded.pl
check_centreon_snmp_multiple_process check_load check_snmp_script_result.pl
check_centreon_snmp_packetErrors check_log check_snmp_storage.pl
check_centreon_snmp_process check_mailq check_snmp_win.pl
check_centreon_snmp_process_detailed check_meta_service check_spop
check_centreon_snmp_remote_storage check_mrtg check_ssh
check_centreon_snmp_TcpConn check_mrtgtraf check_ssmtp
check_centreon_snmp_traffic check_mysql check_swap
check_centreon_snmp_uptime check_mysql_query check_tcp
check_centreon_snmp_value check_nagios check_time
check_clamd check_nntp check_udp
check_cluster check_nntps check_ups
check_dhcp check_nt check_users
check_dig check_ntp check_wave
check_disk check_ntp_peer negate
check_disk_smb check_ntp_time process-service-perfdata
check_dns check_nwstat submit_host_check_result
check_dummy check_oracle submit_service_check_result
check_file_age check_overcr urlize
check_flexlm check_ping utils.pm
check_fping check_pop utils.sh
check_ftp check_procs
root@bayoro-laptop:/usr/local/nagios/libexec# ls -l
total 3940
-rw-rw-r-- 1 root nagios 1395 2010-03-25 02:15 centreon.conf
-rwxr-xr-x 1 root root 3591 2010-03-25 02:15 centreon.pm
-rwxr-xr-x 1 root root 77398 2010-03-22 16:35 check_apt
-rwxr-xr-x 1 root root 2254 2010-03-22 16:35 check_breeze
-rwxr-xr-x 1 root root 90920 2010-03-22 16:35 check_by_ssh
-rwxr-xr-x 1 root root 3506 2010-03-25 02:15 check_centreon_dummy
-rwxr-xr-x 1 root root 8986 2010-03-25 02:15 check_centreon_MS_multiple_services
-rwxr-xr-x 1 root root 7185 2010-03-25 02:15 check_centreon_ping
-rwxr-xr-x 1 root root 7903 2010-03-25 02:15 check_centreon_snmp_cpu
-rwxr-xr-x 1 root root 7747 2010-03-25 02:15 check_centreon_snmp_loadaverage
-rwxr-xr-x 1 root root 10699 2010-03-25 02:15 check_centreon_snmp_memory
-rwxr-xr-x 1 root root 8847 2010-03-25 02:15 check_centreon_snmp_multiple_process
-rwxr-xr-x 1 root root 8948 2010-03-25 02:15 check_centreon_snmp_packetErrors
-rwxr-xr-x 1 root root 8134 2010-03-25 02:15 check_centreon_snmp_process
-rwxr-xr-x 1 root root 20316 2010-03-25 02:15 check_centreon_snmp_process_detailed
-rwxr-xr-x 1 root root 15187 2010-03-25 02:15 check_centreon_snmp_remote_storage
-rwxr-xr-x 1 root root 5430 2010-03-25 02:15 check_centreon_snmp_TcpConn
-rwxr-xr-x 1 root root 16869 2010-03-25 02:15 check_centreon_snmp_traffic
-rwxr-xr-x 1 root root 6112 2010-03-25 02:15 check_centreon_snmp_uptime
-rwxr-xr-x 1 root root 7643 2010-03-25 02:15 check_centreon_snmp_value
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_clamd -> check_tcp
-rwxr-xr-x 1 root root 51541 2010-03-22 16:35 check_cluster
-r-sr-xr-x 1 root root 90912 2010-03-22 16:35 check_dhcp
-rwxr-xr-x 1 root root 84714 2010-03-22 16:35 check_dig
-rwxr-xr-x 1 root root 113768 2010-03-22 16:35 check_disk
-rwxr-xr-x 1 root root 8080 2010-03-22 16:35 check_disk_smb
-rwxr-xr-x 1 root root 92045 2010-03-22 16:35 check_dns
-rwxr-xr-x 1 root root 44510 2010-03-22 16:35 check_dummy
-rwxr-xr-x 1 root root 3056 2010-03-22 16:35 check_file_age
-rwxr-xr-x 1 root root 6318 2010-03-22 16:35 check_flexlm
-rwxr-xr-x 1 root root 91056 2010-03-22 16:35 check_fping
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_ftp -> check_tcp
-rwxr-xr-x 1 root root 85613 2010-03-22 16:35 check_hpjd
-rwxr-xr-x 1 root root 184522 2010-03-22 16:35 check_http
-r-sr-xr-x 1 root root 95971 2010-03-22 16:35 check_icmp
-rwxr-xr-x 1 root root 60090 2010-03-22 16:35 check_ide_smart
-rwxr-xr-x 1 root root 15137 2010-03-22 16:35 check_ifoperstatus
-rwxr-xr-x 1 root root 12523 2010-03-22 16:35 check_ifstatus
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_imap -> check_tcp
-rwxr-xr-x 1 root root 7355 2010-03-22 16:35 check_ircd
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_jabber -> check_tcp
-rwxr-xr-x 1 root root 72237 2010-03-22 16:35 check_ldap
lrwxrwxrwx 1 root root 10 2010-03-22 16:35 check_ldaps -> check_ldap
-rwxr-xr-x 1 root root 70418 2010-03-22 16:35 check_load
-rwxr-xr-x 1 root root 6026 2010-03-22 16:35 check_log
-rwxr-xr-x 1 root root 20287 2010-03-22 16:35 check_mailq
-rwxr-xr-x 1 root root 9728 2010-03-25 02:15 check_meta_service
-rwxr-xr-x 1 root root 57934 2010-03-22 16:35 check_mrtg
-rwxr-xr-x 1 root root 57729 2010-03-22 16:35 check_mrtgtraf
-rwxr-xr-x 1 root root 86831 2010-03-22 16:35 check_mysql
-rwxr-xr-x 1 root root 80435 2010-03-22 16:35 check_mysql_query
-rwxr-xr-x 1 root root 70179 2010-03-22 16:35 check_nagios
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_nntp -> check_tcp
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_nntps -> check_tcp
-rwxr-xr-x 1 root root 88750 2010-03-22 16:35 check_nt
-rwxr-xr-x 1 root root 89472 2010-03-22 16:35 check_ntp
-rwxr-xr-x 1 root root 83456 2010-03-22 16:35 check_ntp_peer
-rwxr-xr-x 1 root root 78558 2010-03-22 16:35 check_ntp_time
-rwxr-xr-x 1 root root 109548 2010-03-22 16:35 check_nwstat
-rwxr-xr-x 1 root root 8326 2010-03-22 16:35 check_oracle
-rwxr-xr-x 1 root root 72544 2010-03-22 16:35 check_overcr
-rwxr-xr-x 1 root root 95781 2010-03-22 16:35 check_ping
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_pop -> check_tcp
-rwxr-xr-x 1 root root 94619 2010-03-22 16:35 check_procs
-rwxr-xr-x 1 root root 71523 2010-03-22 16:35 check_real
-rwxr-xr-x 1 root root 9584 2010-03-22 16:35 check_rpc
-rwxr-xr-x 1 root root 1137 2010-03-22 16:35 check_sensors
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_simap -> check_tcp
-rwxr-xr-x 1 root root 134697 2010-03-22 16:35 check_smtp
-rwxr-xr-x 1 root root 128297 2010-03-22 16:35 check_snmp
-rwxr-xr-x 1 root root 15626 2010-03-25 02:15 check_snmp_cpfw.pl
-rwxr-xr-x 1 root root 22839 2010-03-25 02:15 check_snmp_load.pl
-rwxr-xr-x 1 root root 18734 2010-03-25 02:15 check_snmp_mem.pl
-rwxr-xr-x 1 root root 26182 2010-03-25 02:15 check_snmp_process.pl
-rwxr-xr-x 1 root root 5889 2010-03-25 02:15 check_snmp_processus_loaded.pl
-rwxr-xr-x 1 root root 6306 2010-03-25 02:15 check_snmp_script_result.pl
-rwxr-xr-x 1 root root 25483 2010-03-25 02:15 check_snmp_storage.pl
-rwxr-xr-x 1 root root 12069 2010-03-25 02:15 check_snmp_win.pl
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_spop -> check_tcp
-rwxr-xr-x 1 root root 67270 2010-03-22 16:35 check_ssh
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_ssmtp -> check_tcp
-rwxr-xr-x 1 root root 70752 2010-03-22 16:35 check_swap
-rwxr-xr-x 1 root root 114157 2010-03-22 16:35 check_tcp
-rwxr-xr-x 1 root root 67401 2010-03-22 16:35 check_time
lrwxrwxrwx 1 root root 9 2010-03-22 16:35 check_udp -> check_tcp
-rwxr-xr-x 1 root root 80287 2010-03-22 16:35 check_ups
-rwxr-xr-x 1 root root 68689 2010-03-22 16:35 check_users
-rwxr-xr-x 1 root root 2939 2010-03-22 16:35 check_wave
-rwxr-xr-x 1 root root 70137 2010-03-22 16:35 negate
-rwxr-xr-x 1 root root 2417 2010-03-25 02:15 process-service-perfdata
-rwxr-xr-x 1 root root 2997 2010-03-25 02:15 submit_host_check_result
-rwxr-xr-x 1 root root 3107 2010-03-25 02:15 submit_service_check_result
-rwxr-xr-x 1 root root 68276 2010-03-22 16:35 urlize
-rwxr-xr-x 1 root root 1938 2010-03-22 16:35 utils.pm
-rwxr-xr-x 1 root root 862 2010-03-22 16:35 ut
Je evux changer les droit droit et donc je tape ceci dans le repertoire /usr/local/nagios /libexec
chmod 774 /usr/local/nagios /libexec
puis après ceci chown nagios:nagios /usr/local/nagios/libexec
Et après quant je reviens dans le repertoire , je ne constacte aucun changement.
Me suis je tropé ou que faut t'il faire pour donner a nagios tous les droits sur le repertoire . Merci
Dernière modification par slasher-fun (Le 31/03/2010, à 18:40)
Hors ligne
#2 Le 31/03/2010, à 18:52
- Bayoro
Re : Chmod et Chown
Merci j'ai trouvé il falait que je mette l'option -R pour changer les propriétaires après avoir changer les permissions .
Merci pour votre lecture a bientot
Hors ligne
#3 Le 31/03/2010, à 20:21
- nesthib
Re : Chmod et Chown
merci de respecter les règles du forum. Les doublons sont interdits. La suite ici
GUL Bordeaux : Giroll – Services libres : TdCT.org
Hide in your shell, scripts & astuces : applications dans un tunnel – smart wget – trouver des pdf – install. auto de paquets – sauvegarde auto – ♥ awk
⃛ɹǝsn xnuᴉꞁ uʍop-ǝpᴉsdn
Hors ligne
Pages : 1
Discussion fermée