Solved

How do I can the default directory for tftp services

Posted on 2009-05-12
8
722 Views
Last Modified: 2012-05-06
The tftp service on Solaris stores the files in /tftpboot. I would prefer to have these file reside on my ZFS store, e.g.  /NAS/tfpdboot.  Does tftpboot have a preference file which can be changed to reflect a different location to access the files? If not, suggested simple approaches appreciated.
0
Comment
Question by:Pindari
  • 6
  • 2
8 Comments
 
LVL 12

Expert Comment

by:coredatarecovery
ID: 24370672
It would be under /etc/tftpd for solaris.
0
 

Author Comment

by:Pindari
ID: 24370745
TFTP is currently working and all the files are going to the /tftpboot directory. There is no such directory as the one you suggested

$ ls /etc/tftpd
/etc/tftpd: No such file or directory

What filename should I expect to see if the directory did exist (so I can search for it elsewhere)?
0
 
LVL 12

Expert Comment

by:coredatarecovery
ID: 24370846
The TFTP Dameon should have a config file somewhere in the ETC. it used to be that path I gave you, however it's been 8 years since I touched a solaris system.
0
 

Author Comment

by:Pindari
ID: 24370864
I would have thought so, but nothing obvious which is why I posted the question. I have included the directory listing if it helps.

$ ls -lais

total 638

      1472   10 drwxr-xr-x  80 root     sys         4608 May  8 12:02 .

         2    2 drwxr-xr-x  34 root     root        1024 May  8 12:12 ..

      4722    0 -rw-r--r--   1 root     root           0 Jan 11  2007 .NFS4inst_state.domain

     44898    6 -rw-r--r--   1 root     root        2236 May  8 12:02 .cpr_config

     48651    2 drwxr-xr-x   3 root     bin          512 Jan 11  2007 .java

      1799    2 -rw-r--r--   1 root     sys          524 Jan 21  2005 .login

     44912    0 -rw-------   1 root     root           0 May  8 11:40 .pwd.lock

      4465    2 -rw-r--r--   1 root     other        284 Jan 11  2007 .sysIDtool.state

      3695    2 -rw-r--r--   1 root     other        159 Jan 11  2007 .sysidconfig.apps

      4539    2 lrwxrwxrwx   1 root     root          22 May  8 12:02 .syslog_door -> ../var/run/syslog_door

      1473    2 lrwxrwxrwx   1 root     root          14 Jan 11  2007 TIMEZONE -> ./default/init

     76447    2 drwxr-xr-x   6 root     other        512 May  8 12:02 X11

    186704    2 drwxr-xr-x   2 adm      adm          512 Jan 11  2007 acct

      2601    2 -rw-r--r--   1 root     sys          253 Sep 15  2005 aggregation.conf

      4398    2 lrwxrwxrwx   1 root     root          14 Jan 11  2007 aliases -> ./mail/aliases

     70069    2 drwxr-xr-x   6 root     other        512 Jan 11  2007 amd64

    133977    2 drwxr-xr-x   7 root     bin          512 Jan 11  2007 apache

    198045    2 drwxr-xr-x   2 root     bin          512 Jan 11  2007 apache2

     48588    2 drwxr-xr-x   2 root     other        512 Jan 11  2007 apoc

      4126    2 -rw-r--r--   1 root     bin          194 Jan 21  2005 auto_home

      4040    2 -rw-r--r--   1 root     bin          248 Jan 21  2005 auto_master

      1474    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 autopush -> ../sbin/autopush

     70208    2 drwxr-xr-x   2 root     other        512 Jan 11  2007 bonobo-activation

      3939    6 -rwxr-xr-x   1 root     sys         2716 Jan 21  2005 bootrc

     29394    2 drwxr-xr-x   4 root     sys          512 Jan 11  2007 cacao

      1475    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 certs

      1477    2 lrwxrwxrwx   1 root     root          18 Jan 11  2007 cfgadm -> ../usr/sbin/cfgadm

      1963    2 lrwxrwxrwx   1 root     root          18 Jan 11  2007 chroot -> ../usr/sbin/chroot

      1478    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 clri -> ../usr/sbin/clri

      4716    2 -rw-r--r--   1 root     other        372 May  8 12:02 coreadm.conf

      1479    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 cron -> ../usr/sbin/cron

      1480    2 drwxr-xr-x   2 root     sys          512 May  8 12:02 cron.d

      1481    2 drwxr-xr-x   4 root     sys          512 Jan 11  2007 crypto

      3127    4 -rw-r--r--   1 root     sys         2043 Jan 26  2006 dacf.conf

     17711    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 dat

      1652    2 -r--r--r--   1 root     sys          435 Jan 21  2005 datemsk

      1484    2 lrwxrwxrwx   1 root     root          17 Jan 11  2007 dcopy -> ../usr/sbin/dcopy

      1485    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 default

     44907    2 -rw-r--r--   1 root     root          11 Jan 12  2007 defaultrouter

      4737    4 -r--r--r--   1 root     root        1967 Jan 11  2007 device.tab

      1486    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 devices

      3129    6 -rw-r--r--   1 root     sys         2467 Jan 11  2007 devlink.tab

      1487    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 dfs

      1868    2 -r--r--r--   1 root     sys          374 Jan 11  2007 dgroup.tab

      1488    2 drwxr-xr-x   2 root     sys          512 Jan 12  2007 dhcp

     54551    2 drwxr-xr-x   4 root     sys          512 Jan 11  2007 dmi

      4308   18 -rw-r--r--   1 root     other       9081 Jan 11  2007 driver_aliases

      3054    2 -rw-r--r--   1 root     sys          475 Jan 11  2007 driver_classes

      4733    2 -rw-r--r--   1 root     other        236 May  8 12:02 dumpadm.conf

      1871    0 -rw-rw-r--   1 root     sys            0 Jan 21  2005 dumpdates

     43826    2 -rw-r--r--   1 root     other         77 Dec 16  2004 esd.conf

      3975    4 -rw-r--r--   1 root     sys         1136 Jan  6  2005 fddi.cfg

      1489    2 lrwxrwxrwx   1 root     root          14 Jan 11  2007 ff -> ../usr/sbin/ff

     11825    2 drwxr-xr-x   5 root     sys          512 Jan 11  2007 flash

      2630    2 drwxr-xr-x   3 root     sys          512 Jan 11  2007 fm

      1490    2 lrwxrwxrwx   1 root     root          19 Jan 11  2007 fmthard -> ../usr/sbin/fmthard

     24906    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 fonts

      1491    2 lrwxrwxrwx   1 root     root          18 Jan 11  2007 format -> ../usr/sbin/format

      1653   14 -rw-r--r--   1 root     sys         6986 Jan 11  2007 format.dat

      1492    2 drwxr-xr-x   6 root     sys          512 Jan 11  2007 fs

      1495    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 fsck -> ../usr/sbin/fsck

      1496    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 fsdb -> ../usr/sbin/fsdb

      1497    2 lrwxrwxrwx   1 root     root          17 Jan 11  2007 fstyp -> ../usr/sbin/fstyp

     23718    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 ftpd

      4933    2 lrwxrwxrwx   1 root     root          17 Jan 11  2007 fuser -> ../usr/sbin/fuser

     41415    2 drwxr-xr-x   6 root     other        512 Jan 11  2007 gconf

      1498    2 lrwxrwxrwx   1 root     root          21 Jan 11  2007 getty -> ../usr/lib/saf/ttymon

     99047    2 drwxr-xr-x   3 root     other        512 Jan 11  2007 gimp

     70374    2 drwxr-xr-x   4 root     other        512 Jan 11  2007 gnome-vfs-2.0

     43594   22 -rw-r--r--   1 root     other      10652 Dec 16  2004 gnome-vfs-mime-magic

     94549    2 drwxr-xr-x   3 root     other        512 Jan 11  2007 gnopernicus-1.0

      1926    2 -rw-r--r--   1 root     sys          275 Jan 21  2005 group

      1499    2 lrwxrwxrwx   1 root     root          17 Jan 11  2007 grpck -> ../usr/sbin/grpck

     15062    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 gss

     47140    4 drwxr-xr-x   2 root     bin         1536 Jan 11  2007 gtk

     70072    2 drwxr-xr-x   2 root     other        512 Jan 11  2007 gtk-2.0

      1500    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 halt -> ../usr/sbin/halt

      4129    2 -rw-r--r--   1 root     bin          293 Jan  4  2005 hba.conf

     44930    2 -rw-r--r--   1 root     root           4 Jan 12  2007 hostname.iprb0

      1501    2 lrwxrwxrwx   1 root     root          12 Jan 11  2007 hosts -> ./inet/hosts

      4039    2 -rw-r--r--   1 root     bin          440 Jan 11  2007 ima.conf

    209715    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 imq

      1502    2 drwxr-xr-x   4 root     sys         1024 May 12 18:02 inet

      1503    2 lrwxrwxrwx   1 root     root          17 Jan 11  2007 inetd.conf -> ./inet/inetd.conf

      1504    2 lrwxrwxrwx   1 root     root          12 Jan 11  2007 init -> ../sbin/init

      1505    2 drwxr-xr-x   2 root     sys         1024 Jan 11  2007 init.d

      4641    0 prw-------   1 root     root           0 May  8 12:03 initpipe

      1928    2 -rw-r--r--   1 root     sys         1006 Jan 21  2005 inittab

      1506    2 lrwxrwxrwx   1 root     root          19 Jan 11  2007 install -> ../usr/sbin/install

      1877    2 -rw-r--r--   1 root     sys           39 Jan 21  2005 ioctl.syscon

     18448    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 ipf

     18760    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 iscsi

      3135    2 -rw-r--r--   1 root     sys          242 Jan 21  2005 iu.ap

      1507    2 lrwxrwxrwx   1 root     root          19 Jan 11  2007 killall -> ../usr/sbin/killall

     15114    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 krb5

      1508    2 lrwxrwxrwx   1 root     root          19 Jan 11  2007 labelit -> ../usr/sbin/labelit

      1509    2 drwxr-xr-x   3 root     sys          512 Jan 11  2007 lib

      4934    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 link -> ../usr/sbin/link

     54253    2 drwxr-xr-x   3 root     sys          512 Jan 11  2007 llc2

      1513    2 lrwxrwxrwx   1 root     root          14 Jan 11  2007 log -> ../var/adm/log

      1947    4 -rw-r--r--   1 root     sys         1377 May  9 03:10 logadm.conf

      1878    4 -rw-r--r--   1 root     sys         1215 Jan 11  2007 logindevperm

     54269    2 drwxrwxr-x  10 lp       lp           512 Jan 11  2007 lp

     41999    2 drwxr-xr-x   6 root     sys          512 Jan 11  2007 lu

     14850    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 lvm

      3960    2 -rw-r--r--   1 root     sys          156 Jan 21  2005 mach

      1657   36 -r--r--r--   1 root     bin        17519 May 26  2006 magic

      1514    2 drwxr-xr-x   3 root     mail         512 Jan 11  2007 mail

      5277    2 -rw-r--r--   1 root     other         67 Jan 11  2007 mailcap

     22520    2 -rw-r--r--   1 root     other        230 Jan 11  2007 mime.types

      3130    8 -rw-r--r--   1 root     sys         3876 Jan 11  2007 minor_perm

      1515    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 mkfs -> ../usr/sbin/mkfs

      1516    2 lrwxrwxrwx   1 root     root          17 Jan 11  2007 mknod -> ../usr/sbin/mknod

      1658    2 -r--r--r--   1 root     root         905 May  8 12:56 mnttab

      1659    2 -rw-r--r--   1 root     sys           54 Jan 21  2005 motd

      1517    2 lrwxrwxrwx   1 root     root          13 Jan 11  2007 mount -> ../sbin/mount

      1518    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 mountall -> ../sbin/mountall

      4935    2 lrwxrwxrwx   1 root     root          17 Jan 11  2007 mvdir -> ../usr/sbin/mvdir

      3133    4 -rw-r--r--   1 root     sys         1905 Jan 11  2007 name_to_major

      3023    8 -rw-r--r--   1 root     sys         3265 Jan 21  2005 name_to_sysnum

    268516    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 nca

      1519    2 lrwxrwxrwx   1 root     root          18 Jan 11  2007 ncheck -> ../usr/sbin/ncheck

      1520    2 drwxr-xr-x   5 root     sys          512 Jan 11  2007 net

      1916    4 -rw-r--r--   1 root     sys         1239 Jan 21  2005 netconfig

      1524    2 lrwxrwxrwx   1 root     root          15 Jan 11  2007 netmasks -> ./inet/netmasks

      1525    2 lrwxrwxrwx   1 root     root          15 Jan 11  2007 networks -> ./inet/networks

     23524    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 nfs

      3689    2 -rw-r--r--   1 root     sys          981 Jan 21  2005 nfssec.conf

      4466    2 -rw-r--r--   1 root     root           4 Jan 11  2007 nodename

      1949    4 -rw-r--r--   1 root     sys         1580 Jan 21  2005 nscd.conf

      3816    2 -rw-r--r--   1 root     root         767 Jan 12  2007 nsswitch.conf

      1663    4 -rw-r--r--   1 root     sys         1120 Jan 21  2005 nsswitch.dns

      1664    2 -rw-r--r--   1 root     sys          757 Jan 21  2005 nsswitch.files

      1665    4 -rw-r--r--   1 root     sys         1248 Jan 21  2005 nsswitch.ldap

      4070    4 -rw-r--r--   1 root     sys         1228 Jan 21  2005 nsswitch.nis

      4071    4 -rw-r--r--   1 root     sys         1558 Jan 21  2005 nsswitch.nisplus

     44947    2 -rw-r--r--   1 root     sys          687 Jan 11  2007 opasswd

     17973    2 drwxr-xr-x   4 root     bin          512 Jan 11  2007 openwin

      1526    2 drwxr-xr-x   3 root     sys          512 Jan 11  2007 opt

     23289    2 -rw-r--r--   1 root     other         14 Dec 16  2004 orbitrc

     44949    2 -rw-r--r--   1 root     sys          339 Jan 11  2007 ouser_attr

      1953    8 -rw-r--r--   1 root     sys         3224 Jan 11  2007 pam.conf

     70073    2 drwxr-xr-x   2 root     other        512 Jan 11  2007 pango

     44909    2 -rw-r--r--   1 root     sys          735 May  8 11:40 passwd

     36694    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 patch

      4543    4 -r--r--r--   1 root     root        1076 Jan 11  2007 path_to_inst

      4544    2 -r--r--r--   1 root     root         946 Jan 11  2007 path_to_inst.old

     68031    2 drwxr-xr-x   2 root     bin          512 Jan 11  2007 pgsql

      4951    2 -rw-r--r--   1 root     sys          488 Jan 21  2005 power.conf

    303373    2 drwxr-xr-x   3 root     sys          512 Jan 11  2007 ppp

      5029    2 -rw-r--r--   1 root     sys          162 Jan 21  2005 printers.conf

     22557    2 -rw-r--r--   1 root     other        112 Dec 16  2004 product-info

      1932    2 -rw-r--r--   1 root     sys          712 Jan 21  2005 profile

      1879    2 -rw-r--r--   1 root     sys           78 Jan 21  2005 project

      1527    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 protocols -> ./inet/protocols

      1528    2 lrwxrwxrwx   1 root     root          19 Jan 11  2007 prtconf -> ../usr/sbin/prtconf

      1529    2 lrwxrwxrwx   1 root     root          19 Jan 11  2007 prtvtoc -> ../usr/sbin/prtvtoc

      4006    2 -rw-r--r--   1 root     bin          622 Jan 21  2005 publickey

      4936    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 pwck -> ../usr/sbin/pwck

      1530    2 lrwxrwxrwx   1 root     root          11 Jan 11  2007 rc0 -> ../sbin/rc0

      1531    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 rc0.d

      1532    2 lrwxrwxrwx   1 root     root          11 Jan 11  2007 rc1 -> ../sbin/rc1

      1533    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 rc1.d

      1534    2 lrwxrwxrwx   1 root     root          11 Jan 11  2007 rc2 -> ../sbin/rc2

      1535    2 drwxr-xr-x   2 root     sys         1024 Jan 11  2007 rc2.d

      1536    2 lrwxrwxrwx   1 root     root          11 Jan 11  2007 rc3 -> ../sbin/rc3

      1537    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 rc3.d

      1538    2 lrwxrwxrwx   1 root     root          11 Jan 11  2007 rc5 -> ../sbin/rc5

      1539    2 lrwxrwxrwx   1 root     root          11 Jan 11  2007 rc6 -> ../sbin/rc6

      1540    2 lrwxrwxrwx   1 root     root          11 Jan 11  2007 rcS -> ../sbin/rcS

      1541    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 rcS.d

      5878    2 drwxr-xr-x   3 root     sys          512 Jan 11  2007 rcm

      1542    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 reboot -> ../usr/sbin/halt

      4286    2 -r--r--r--   1 root     sys          239 Jun  9  2006 release

      1912    4 -rw-r--r--   1 root     bin         1969 Jan 11  2007 remote

      4707    2 -rw-r--r--   1 root     root          67 Jan 11  2007 resolv.conf

      1941    2 -r--r--r--   1 root     bin          442 Jan 11  2007 rmmount.conf

         6    2 lrwxrwxrwx   1 root     root          15 Jan 11  2007 rmt -> ../usr/sbin/rmt

     44893    2 -rw-------   1 root     root          77 Jan 11  2007 rndc.key

      1930    4 -rw-r--r--   1 root     sys         1717 Jan 21  2005 rpc

      1543    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 rpcsec

      3673    2 -rw-r--r--   1 root     sys          496 Jan 21  2005 rpld.conf

      4467    2 -rw-r--r--   1 root     root         509 Mar  9 02:01 rtc_config

      1544    2 drwxr-xr-x   3 root     bin          512 May  8 12:02 saf

      1546    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 sasl

     43621    2 -rw-r--r--   1 root     other         23 Dec 16  2004 scrollkeeper.conf

      1547    2 drwxr-xr-x   6 root     sys          512 Jan 11  2007 security

      1554    2 lrwxrwxrwx   1 root     root          15 Jan 11  2007 services -> ./inet/services

      1555    2 lrwxrwxrwx   1 root     root          18 Jan 11  2007 setmnt -> ../usr/sbin/setmnt

     25001    2 drwxr-xr-x   8 root     bin          512 Jan 11  2007 sfw

     87377    2 drwxr-xr-x   2 root     other        512 Jan 11  2007 sgml

      1965    2 -r--------   1 root     sys          393 May  8 11:40 shadow

      1556    2 lrwxrwxrwx   1 root     root          20 Jan 11  2007 shutdown -> ../usr/sbin/shutdown

      1557    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 skel

     23572    2 drwxr-xr-x   3 root     bin          512 Jan 11  2007 sma

     31801    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 smartcard

     30552    2 drwxr-xr-x   3 root     sys          512 Jan 11  2007 snmp

      2583    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 sock2path -> ./inet/sock2path

     70968    2 drwxr-xr-x   3 root     other        512 Jan 11  2007 sound

     15987    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 ssh

      1558    2 lrwxrwxrwx   1 root     root          15 Jan 11  2007 sulogin -> ../sbin/sulogin

      1559    2 drwxr-xr-x   3 root     sys         1024 May  8 12:03 svc

      1561    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 swap -> ../usr/sbin/swap

      1562    2 lrwxrwxrwx   1 root     root          15 Jan 11  2007 swapadd -> ../sbin/swapadd

      1563    2 lrwxrwxrwx   1 root     root          18 Jan 11  2007 sysdef -> ../usr/sbin/sysdef

      1564    2 drwxr-xr-x   5 root     sys          512 May  8 12:02 sysevent

      1922    2 -rw-r--r--   1 root     sys         1001 Jan 21  2005 syslog.conf

      4727    2 lrwxrwxrwx   1 root     root          21 May  8 12:02 syslog.pid -> ../var/run/syslog.pid

      3008    4 -rw-r--r--   1 root     sys         1883 Jan 21  2005 system

      1566    2 lrwxrwxrwx   1 root     root          15 Jan 11  2007 tar -> ../usr/sbin/tar

      1567    2 lrwxrwxrwx   1 root     root          12 Jan 11  2007 telinit -> ../sbin/init

      4937    2 lrwxrwxrwx   1 root     root          24 Jan 11  2007 termcap -> ../usr/share/lib/termcap

      1568    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 tm

      1683    6 -rw-r--r--   1 root     sys         2303 Jan 21  2005 ttydefs

      1924    4 -rw-r--r--   1 root     sys         1495 Jan 21  2005 ttysrch

      1569    2 lrwxrwxrwx   1 root     root          14 Jan 11  2007 uadmin -> ../sbin/uadmin

      1570    2 lrwxrwxrwx   1 root     root          14 Jan 11  2007 umount -> ../sbin/umount

      1571    2 lrwxrwxrwx   1 root     root          17 Jan 11  2007 umountall -> ../sbin/umountall

      4938    2 lrwxrwxrwx   1 root     root          18 Jan 11  2007 unlink -> ../usr/sbin/unlink

     17892    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 usb

     44960    2 -rw-r--r--   1 root     sys          339 May  8 11:40 user_attr

      4542    0 prw-------   1 root     root           0 May 12 18:33 utmppipe

      1572    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 utmpx -> ../var/adm/utmpx

    250627    2 drwxr-xr-x   2 uucp     uucp         512 Jan 11  2007 uucp

      1981    2 -rw-r--r--   1 root     sys          424 Jan 11  2007 vfstab

      1573    2 lrwxrwxrwx   1 root     root          19 Jan 11  2007 volcopy -> ../usr/sbin/volcopy

      1939    4 -r--r--r--   1 root     bin         1123 Jan 11  2007 vold.conf

      1574    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 wall -> ../usr/sbin/wall

    163180    4 drwx------  99 root     bin         2048 Jan 11  2007 webmin

     44170    8 -rwxr-xr-x   1 root     sys         4002 Jan  8  2005 wgetrc

      1575    2 lrwxrwxrwx   1 root     root          17 Jan 11  2007 whodo -> ../usr/sbin/whodo

      1576    2 lrwxrwxrwx   1 root     root          16 Jan 11  2007 wtmpx -> ../var/adm/wtmpx

     87378    2 drwxr-xr-x   2 root     other        512 Jan 11  2007 xml

     44018    8 -rwxr-xr-x   1 root     sys         3112 Dec 16  2004 xpdfrc

     15909    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 zfs

     52741    2 drwxr-xr-x   2 root     sys          512 Jan 11  2007 zones

$

Open in new window

0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 12

Expert Comment

by:coredatarecovery
ID: 24370948
Ok, so you are using tftp on this computer, not tftpd. Or there would be a config file in solaris.

You're tftp to this computer from a server and then you want your data to go to a specific location instead of the default, correct?
0
 
LVL 12

Expert Comment

by:coredatarecovery
ID: 24370978
If this is not the server but the client, you can do this as below.

in your get statement you can always be specific as to where you put the file
Format:
get remotename localname

Get stuffIwant /NAS/tfpdboot/stuffiwant

you could write a script passing %4 as a variable from the command line

doit tftp servername filename /NAS/tfpdboot/
0
 
LVL 12

Expert Comment

by:coredatarecovery
ID: 24370987
http://docs.sun.com/app/docs/doc/806-0625/6j9vfilol?l=ko&a=view#FILES

Has the information if you are interested  in tftpd or in.tftpd.
0
 
LVL 12

Accepted Solution

by:
coredatarecovery earned 50 total points
ID: 24371127
Below are the contents of the tftpd.conf file you need to create one to change the defaults if this computer is the tftp server for your network.
______________________________________________________________________________________

#
# Sample /etc/tftpd.conf, see yale-tftpd(8) for details
#
# Note: you should propably keep this file root owned,
#       also root/wheel group and chmod the directories
#      permissions 2711 or even 2700. The less you reveal
#      what you have under tftpd accessed directories the
#      harder you make it for possible misuse.
#
# To enable the service edit your /etc/inetd.conf as shown
# below and send HUP to inetd.
#
# tftp    dgram   udp     wait    root    /usr/sbin/yale-tftpd in.tftpd
#

# Seach here for unqualified file names
defaultDirectory   /tftpboot/default

# Don't search anywhere else but here
rootDirectory         /tftpboot

# access list 1 is OK for everyone on 192.168.1 net
# except 192.168.1.15;  192.168.1.17 is allowed to
# write files.
accessList         1  permit     192.168.1.0      0.0.0.255
accessList         1  deny       192.168.1.15
accessList         1  readwrite  192.168.1.17

# access list 2 is OK for everyone on 192.168.1 net
accessList         2  permit     192.168.1.0      0x000000ff

# access list 3 is readonly for everyone in the world
accessList         3  readonly   0.0.0.0          255.255.255.255

# access list 4 is just like 1, except allow write access to 21 subnet
accessList         4  +1
accessList         4  readwrite  192.168.2.0     0.0.0.255

# access to 'bootfile' controlled by access list 1
restrict           bootfile      1
defaultAccessList  3

# eof
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration, of the HP EVA 4400 SAN Storage. The name , IP and the WWN ID’s used here are not the real ones. ABOUT THE STORAGE For most of you reading this, you …
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now