Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. lancer73

    ftp allow

    correct me if i am wrong, but etc/services just defines ports i think you want to allow telnet and ftp in /etc/inetd.conf then HUP inetd
  2. lancer73

    sendmail problem

    you can either change the value of DS (smart relay host) to your mail router, or you can set an alias for it (to mailhost.) in /etc/hosts then start your sendmail (/etc/init.d/sendmail start)
  3. lancer73

    solaris 8 patch - urgent

    sunsolve.sun.com
  4. lancer73

    jetadmin question

    telnet into the printer. then enable SNMP. then see if you can print.
  5. lancer73

    dd command

    the following is for primary disk as c0t0d0s2 and secondary as c0t1d0s2, change as needed: /usr/sbin/prtvtoc /dev/rdsk/c0t0d0s0 | grep -v '*' > /var/tmp/root_vtoc /usr/bin/dd if=/dev/rdsk/c0t0d0s2 of=/dev/rdsk/c0t1d0s2 /usr/sbin/fmthard -s /var/tmp/root_vtoc /dev/rdsk/c0t1d0s2 fsck your...
  6. lancer73

    Solaris Installation-installing all the tools

    www.sunfreeware.com
  7. lancer73

    Converting calendar date to julian date

    i always thought julian date was day of the year....my bad sorry
  8. lancer73

    applying patches - need help

    go to http://sunsolve.sun.com click on patch finder enter the patch IDs and do search download patches read the instructions included with each for installation, or follow the instructions on the web page for the patch
  9. lancer73

    Jetadmin

    have you read the TRANSFER.UNX file in jetadmin root (i.e. /opt/hpnpl/TRANSFER.UNX)? it has detailed instructions for transferring queues from one workstation to another.
  10. lancer73

    search for file, if not there email to mult people

    ------------------------------------------- #!/bin/ksh FILE=(full-path-to-your-file) DATE=`date '+%b %d'` ls $FILE | grep &quot;$DATE&quot; || mailx -s&quot;someone is sleeping on the job&quot; &quot;(all mail recipients separated by spaces)&quot;<(some file with the message you want to mail in...
  11. lancer73

    Dos bat file to telnet unix machine

    to get the date in the format YYYY-MM-DD: date '+%Y-%m-%d'
  12. lancer73

    Getting all files that are owned by someone.

    actually, -a would be a good switch to put in to list . files. however, -d will not list only directories. it will list files as well, and only directory paths. without the -d option you will list the contents of all files in that directory (which may not be owned by that user), and you'll...
  13. lancer73

    jetadmin problem

    restart lpsched. sometimes after you add a lot of printers, you need to restart the scheduler in order to enable and accept them. i have no idea why. if you look at ja.out in the tmp directory under jetadmin root (for example /opt/hpnpl/tmp) you will see a message saying: UX:lpadmin...
  14. lancer73

    Getting all files that are owned by someone.

    find . -user smith -exec ls -ld {} \;
  15. lancer73

    hp software on solaris 8 question

    /opt/hpnpl/hppi = menu-driven interface /opt/hpnpl/bin/addqueue -q (queue) -h (hosts entry) = the minimum to add a printer
  16. lancer73

    Dump ps -ef ¦ grep acct on the web

    heh...true, tony...too true thanks for the heads up
  17. lancer73

    Dump ps -ef ¦ grep acct on the web

    you could use a simple perl script and dump it in cgi-bin. call it with http://your.server/cgi-bin/script.pl?userid=someuser ----------------------------------------------------- use CGI qw(:standard); $userid = param(&quot;userid&quot;); $title = &quot;Process listing for $userid&quot...
  18. lancer73

    sun spark 10

    boot to single-user mode and do a sys-unconfig if you don't know root password, boot from cd (boot cdrom -s), mount root partition to /a, wipe out password from /a/etc/shadow, boot to single user, sys-unconfig
  19. lancer73

    TOP Command

    set your TERM to the right value: TERM=whatyouuse;export TERM

Part and Inventory Search

Back
Top