Freesco, NND, CDN, EOS
http://forum.freesco.pl/

Na moje konto Cron wysyła wiadomości z serwera. ??
http://forum.freesco.pl/viewtopic.php?f=22&t=15283
Strona 1 z 1

Autor:  poterr [ środa, 2 maja 2007, 13:11 ]
Tytuł:  Na moje konto Cron wysyła wiadomości z serwera. ??

1.od restartu niceshapera (dzień noc)
Temat EMaila -
cron: /etc/niceshaper0.6/nice_dzien > /dev/null
tresc
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device


2.cron: /usr/sbin/run-cron /etc/cron.daily

tresc
user lp: directory /var/spool/lpd does not exist
user uucp: directory /var/spool/uucppublic does not exist
user smmsp: directory /var/spool/clientmqueue does not exist
user proc: directory /home/proc does not exist
no matching password file entry

delete line `www:$1$M6hb.gQS$zxKBgbiJzAvfkbQR5Bm5p.:13549:0:99999:7:::'? No
no matching password file entry

delete line `nowy:$1$1sWgnmGM$Yc.1GoPowCmV7lqgx6pbZ0:13549:0:99999:7:::'? No
pwck: no changes
group news: no user news
delete member `news'? No
grpck: no changes

da sie to jakoś wyłaczyć czy poprostu skierować na inne konto wiadomosci od roota ?? :D

Autor:  Kimas [ środa, 2 maja 2007, 16:33 ]
Tytuł: 

poterr pisze:
czy poprostu skierować na inne konto wiadomosci od roota ??


na samym koncu pliku /etc/mail/aliases ktory wyglada mniej wiecej tak:



: [/] [] ()
/etc/mail/aliases

#
#  /etc/mail/aliases
#
#  NOTE:  Make sure you run 'newaliases' after modifying this file
#

# Basic system aliases -- these MUST be present.
MAILER-DAEMON:  postmaster
postmaster:     root
hostmaster:     root
webmaster:      hostmaster
ftpmaster:      hostmaster
admin:          hostmaster
administrator:  hostmaster

# General redirections for pseudo accounts.
bin:            root
daemon:         root
games:          root
ingres:         root
nobody:         root
system:         root
toor:           root
uucp:           root

# Well-known aliases.
manager:        root
dumper:         root
operator:       root

# trap decode to catch security attacks
decode:         root

# Person who should get root's mail
root:max


tam gdzie jest root:max zmien na root:nazwa_innego_uzytkownika

Autor:  Maciek [ środa, 2 maja 2007, 19:15 ]
Tytuł: 

Przede wszystkim te komunikaty są wysyłane, jeśli masz exima. Jak nie to wpisywane są do logów (o ile pamiętam, to nie w całości). Do rady powyżej sugeruję jeszcze pytanie, czy exima w ogóle skonfigurowałeś? Czy wydaje ci się, że nie ma problemu, bo poczty nie używasz?

Autor:  barte-k [ środa, 2 maja 2007, 20:42 ]
Tytuł: 

Mozna tez w cronie dac cos takiego:

: [/] [] ()
>/dev/null 2>&1


...zamiast prostego /dev/null

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/