[Tfug] in.tftpd denied

evorrie at comcast.net evorrie at comcast.net
Mon Oct 2 09:08:39 MST 2006


Thanks, disabling SELinux worked.  

>From a security point of view, how important is running SELinux compared to having it disabled?

Eric 
 -------------- Original message ----------------------
From: Brian Murphy <murphy+tfug at email.arizona.edu>
> Easy answer, turn off SELinux and reboot.
> 
> More involved answer, make a SELinux exception to allow the stuff in
> your log message.  This part is left as an excersize to the reader. :)
> 
> Brian
> 
> Quoting evorrie at comcast.net:
> > First off, I'm rather new to linux.
> >
> > Second, I had setup a tftp server on a VM box using Fedora 5.  I 
> > thought this would be easy, but apparently not.
> >
> > I try to upload a config file from a cisco switch and I get:
> >
> > TFTP: error code 0 received - Permission denied
> >
> > %Error opening tftp://10.1.23.45/switch-confg (Undefined error)
> >
> > Logs from Fedora show the following:
> >
> > Sep 29 12:52:37 TFTPSRV kernel: audit(1159559557.348:40): avc:  
> > denied  { write } for  pid=4513 comm="in.tftpd" name="switch-confg" 
> > dev=dm-0 ino=65538 scontext=system_u:system_r:tftpd_t:s0 
> > tcontext=root:object_r:tftpdir_t:s0 tclass=file
> >
> > I followed directions from this site for additional help, but still no luck:
> >
> > 
> http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch16_:_Telnet,_T
> FTP,_and_xinetd
> >
> > Obviously its a permissions issue, but what am I looking for?
> >
> > Thanks,
> > Eric
> >
> > _______________________________________________
> > Tucson Free Unix Group - tfug at tfug.org
> > Subscription Options:
> > http://www.tfug.org/mailman/listinfo/tfug_tfug.org
> 
> 
> 
> 
> The opinions or statements expressed herein are my own and should not be
> taken as a position, opinion, or endorsement of the University of
> Arizona.
> 
> 
> 
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org






More information about the tfug mailing list