root's mail

2003-07-29 Thread Jason Dale
Hi, Does anyone know how to send mail to an IP address rather than a domain name, for example, sending mail to [EMAIL PROTECTED] I have put the IP address 1.2.3.4 in the 'local-host-names' file and restarted sendmail. Even that did not work. I get "Unrouteable mail domain 1.2.3.4" error messa

Re: root's mail

2003-07-29 Thread Budai Laszlo
Well, if you don't need to send mails often to that IP address, then you can do it by telneting to the 25 port of the destinatuon machine and do the SMTP protocol by hand. (hello, mail from, rcpt to, data, quit) Good luck Laszlo Jason Dale wrote: Hi, Does anyone know how to send mail to an IP

Re: root's mail

2003-07-29 Thread Dennis Gilmore
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Once upon a time at band camp Tue, 29 Jul 2003 06:51 pm, Jason Dale wrote: > Hi, > > Does anyone know how to send mail to an IP address rather > than a domain name, for example, sending mail to > > [EMAIL PROTECTED] > > I have put the IP address 1.2.3.

"No such variable" in Expect scripts

2003-07-29 Thread jim car
I am curious if anyone knows how to get this to work. Example. linenum=`grep -n /home/abc.com /etc/httpd/conf/httpd.conf | awk -F: '{print $1;exit}'` On the command line it always works, but in an expect script it always errors out stating that the $1 is not a variable. can't read "1": no such

SUDO QUESTION

2003-07-29 Thread jim car
Why can't a user issue the following commands using sudo? It always comes back as permission denied. The sudoer's password is accepted. sudo cat ./httpd.tmp >> /etc/httpd/conf/httpd.conf sudo cat ./ftpuser.tmp >> /etc/vsftpd.chroot_list The permissions on /etc/httpd/conf/httpd.conf are 644. The

Usernames with dots

2003-07-29 Thread Lionel M. Worman
We use dots in our usernames for LDAP, sort of like John.Smith But when I try to create a similar account in Red Hat 8.0 so that I can use LDAP authentication the account is never actually built. Any ideas on how to create accounts with dots in the names in Red Hat? Lionel M. Worman Information

Re: SUDO QUESTION

2003-07-29 Thread Gordon Messmer
jim car wrote: Why can't a user issue the following commands using sudo? It always comes back as permission denied. The sudoer's password is accepted. sudo cat ./httpd.tmp >> /etc/httpd/conf/httpd.conf In this example, two things are happening: 1) sudo authenticates the user and runs "cat ./htt