problem with HPUX sendmail, conversation and solution follows:
$ echo hi | mailx -s "test" myemail@mydomain.com 
$ drop_privileges: setuid(0) succeeded (when it should not)
$ ll /usr/sbin/sendmail
-r-sr-sr-t   1 nonroot    mail       1339392 Aug 26  2004
/usr/sbin/sendmail
should be owned by root:mail
 $ /sbin/init.d/sendmail stop
No sendmail server running
$ /sbin/init.d/sendmail start
drop_privileges: setuid(0) succeeded (when it should not)
451 4.0.0 can not chdir(/var/spool/mqueue): Permission denied
 
$ chown root /usr/sbin/sendmail
$ ll /usr/sbin/sendmail
-r-sr-sr-t   1 root       mail       1339392 Aug 26  2004
/usr/sbin/sendmail
$ /sbin/init.d/sendmail start
/etc/mail/aliases: 7 aliases, longest 9 bytes, 88 bytes total 
sendmail 
8.18.2006
8.16.2006
how to erase disk in HP-UX
HPUX (or any *nix): 
http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2006-06/msg00035.html
I like the concept of destorying all luns, creating a big one and doing a dd of /dev/zero over the raw disk special file.
 
http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2006-06/msg00035.html
I like the concept of destorying all luns, creating a big one and doing a dd of /dev/zero over the raw disk special file.
convert dos unix format in VIM
Here's a vim tip to convert unix to dos or vice-versa.  VIM doesn't have an option in it's file / Save As dialog box.
http://www.vim.org/tips/tip.php?tip_id=145
 
:set fileformat=dos or unix or mac
:w
 
http://www.vim.org/tips/tip.php?tip_id=145
:set fileformat=dos or unix or mac
:w
8.13.2006
Install IE in Linux using wine easily
http://www.warrenguy.com/docs/ubuntu-linux/installing-internet-explorer-6.html  Describes the process which uses the ies4linux script:  http://www.tatanka.com.br/ies4linux/index-en.html
 
Subscribe to:
Comments (Atom)
 
