IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1825.51 MB
Powered by
Channel Info
Network: freenodeChannel: #fedora |
Search in www.irclog.org
Log from #fedora at freenode 2006-06-22
[00:00]<20znm>hi. how do I start telnetd in Fedora?
[00:00]<wwjjms>b0red: why not use ssh instead?
[00:00]<20znm>wwoods, it's out of my hands to decide which to use..
[00:01]<wwjjms>well, if whoever made the decision is aware that running telnetd is suicidally stupid, security-wise
[00:02]<wwjjms>then you need to install the telnet server and enable the service in /etc/xinetd.d/
[00:02]<wwjjms>(or turn it on with chkconfig)
[00:02]<20znm>wwoods, i don't find the telnet server in add/remove programs
[00:03]<20znm>s/programs/packages
[00:03]<wwjjms>b0red: 'yum install telnet-server' would probably do the trick
[00:03]<20znm>yeah
[00:03]<20znm>i just did
[00:04]<wwjjms>b0red: it's in the 'Legacy Network Server' group in the package manager on my machine
[00:05]<20znm>wwoods, true.. i installed it
[00:05]<wwjjms>once that's done you can either use system-config-services or chkconfig to turn it on. or just edit /etc/xinet.d/telnet
[00:05]<tupppjj>wwoods: the files in the rpm are in here /usr/share/man/man1
[00:06]<tupppjj>wwoods its a .1.gzip file
[00:06]<wwjjms>TuffPoo: okay, that's documentation
[00:07]<20znm>wwoods, now how to control the service? stop/start etc
[00:07]<wwjjms>TuffPoo: that's all that's in the package?
[00:07]<tupppjj>wwoods its a .1.gz file
[00:07]<tupppjj>yea
[00:08]<wwjjms>b0red: like I said... either run system-config-services (System->Administration->Server Settings->Services)
[00:09]<wwjjms>use chkconfig (man chkconfig for info - basically just do chkconfig telnet on)
[00:09]<wwjjms>or edit /etc/xinetd.d/telnet
[00:09]<wwjjms>all 3 ways do the same thing
[00:10]<rurgdr>hi, is there any doc about how to create chroots of a fedora core 3, 4 , or 5?
[00:10]<20znm>wwoods, i want to be able to start/stop/reload it remotely from the shell.. actually i'm making a program doing this..
[00:10]<wwjjms>b0red: then use chkconfig.
[00:10]<emrrg>Anyone running Fedora Core 6 Test 1?
[00:11]<tupppjj>im not
[00:11]<20znm>wwoods, would i be able to reload the service with chkconfig?
[00:11]<wwjjms>b0red: as far as I know you don't need to reload the service
[00:12]<wwjjms>'chkconfig telnet on' will turn the service on and make xinetd reload its config
[00:13]<20znm>reload its config if it's already turned on right
[00:13]<wwjjms>the telnet server is an on-demand service
[00:13]<20znm>hmm.
[00:13]<wwjjms>like all xinetd services, it's not running until someone tries to use it
[00:14]<wwjjms>so there's never any need to make telnet reload its configuration
[00:14]<20znm>so how would I send a SIGHUP to telnetd
[00:14]<20znm>ok
[00:14]<zgllg|yg>hello, in what package is the "service" command ?
[00:14]<20znm>if i send a sighup to xinetd .. then it'd reload all the services
[00:14]<20znm>(of xinetd)
[00:15]<wwjjms>Zeppe|in: it's in initscripts. you need to actually log in as root. 'su' by itself doesn't work
[00:15]<wwjjms>b0red: yes, but when you do 'chkconfig telnet on' it does that already, so there's no need
[00:15]<zgllg|yg>tnx a lot wwoods
[00:15]<wwjjms>Zeppe|in: try 'su -' instead
[00:16]<20znm>wwoods, would that still reload it if the service is already on?
[00:16]<wwjjms>Zeppe|in: or add /sbin to your PATH
[00:16]<wwjjms>b0red: I don't understand what you're trying to accomplish.
[00:16]<20znm>wwoods, and what's and easy way to check whether telnetd is running?
[00:16]<20znm>wwoods, i want to be able to reload telnetd when it's already running too
[00:16]<zgllg|yg>i have it at /sbin
[00:17]<wwjjms>b0red: why?
[00:17]<20znm>wwoods, specs of the s/w i'm developing..
[00:17]<zzyz>wwoods: I can't still get my fedora core works, I mean the yum?
[00:17]<zzyz>and I add the three lines alreadu to yum.conf
[00:18]<zzyz>already
[00:18]<zgllg|yg>jair what is your problem?
[00:18]<wwjjms>b0red: these specs sound pretty questionable. anyway. you'd have to do something like 'killall -HUP in.telnetd'
[00:19]<zzyz>Zeppe|in: I am trying to have the yum work on my FC5
[00:19]<wwjjms>that would send a HUP to all active telnet servers
[00:19]<zzyz>Zeppe|in: let me connect from the fC5 to the irssi :)
[00:19]<zzyz>Zeppe|in: I can paste the errors faster. and also my settings
[00:19]<20znm>wwoods, but telnetd is not running as in.telnetd .. but as xinetd (proc name)
[00:19]<wwjjms>b0red: no, when it's actually active it runs as in.telnetd
[00:20]<wwjjms>root 16313 0.0 0.0 1816 748 ? Ss 17:17 0:00 in.telnetd: localhost.localdomain
[00:20]<20znm>ps aux | grep telnetd returns nothing
[00:20]<wwjjms>because it's not active, because nobody is telnetting into the system
[00:20]<wwjjms>the telnet server only activates when someone connects
[00:21]<20znm>oh
[00:21]<20znm>that's a little bit awkward
[00:21]<zzyz>Zeppe|in: I am behind a MS proxy server, but I have not problems with my debian box.
[00:21]<wwjjms>b0red: it would be better to have 15 random servers running all the time?
[00:23]<zzyz_ww>Zeppe|in: I am here now
[00:23]<zzyz_ww>Zeppe|in: same guy.. jair
[00:23]<zzyz_ww>:)
[00:23]<zgllg|yg>jair_11: ok :)
[00:23]<zzyz_ww>so yes, I am trying to set up the yum on the brand new FC5.
[00:24]<zgllg|yg>jair_11: i can send you my conf
[00:24]<20znm>wwoods, what's an easy way to check if telnetd is enabled on the system? (besides telnetting to the port)
[00:24]<zzyz_ww>Zeppe|in: I actually can show you mine, are you behind a firewall as well?
[00:24]<wwjjms>b0red: chkconfig --list telnet
[00:24]<zzyz_ww>Zeppe|in: you can paste your on pastebin.com
[00:24]<20znm>ok great
[00:25]<zzyz_ww>Zeppe|in: the thing is that I am behind a firewall.
[00:25]<zzyz_ww>so i do not know about you?
[00:25]<zyffyrd>can anyone tell me why when i mount a drive to /mnt/hdc then do "ln -s /mnt/hdc foo" in my /var/www/html directory, chmod 775 foo, I get a 403 when I try to hit /foo from my web browser
[00:26]<zgllg|yg>ok
[00:27]<czgzzyl>rilliam, followsymlinks might be turned off, as well as directory indexing
[00:27]<zgllg|yg>jair_11: give me a sec
[00:27]<zzyz_ww>Zeppe|in: ok
[00:27]<czgzzyl>rilliam, also the harddrive contents might appear to be owned by root, and the user apache is running with might not be allowed to enter the directoy
[00:28]<wwjjms>rilliam: you should check /var/log/messages for 'avc: denied' messages too
[00:28]<czgzzyl>that should keep him busy for a while :)
[00:28]<czgzzyl>although that of course is not our goal :)
[00:29]<20znm>wwoods, there is no way to change the port telnetd is listening on?
[00:30]<wrvxnc>hello all
[00:30]<zyffyrd>ya i think its something to do with hd because if i umount it then the symlink works but i just see the empty dir /mnt/hdc because nothing is mounted there, so how can i change the owner of the files in the hdc







