- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- disable/enable ftp and cron daemon
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 05:35 AM
11-29-2005 05:35 AM
disable/enable ftp and cron daemon
Is possible disable/enable ftp and crontab daemon from command line? if yes, how?
Thankyou
Paolo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 05:39 AM
11-29-2005 05:39 AM
Re: disable/enable ftp and cron daemon
/sbin/init.d/cron stop
/sbin/init.d/cron start
For ftp:
edit /etc/inetd.conf and comment out the ftp line, then run "inetd -c".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 05:41 AM
11-29-2005 05:41 AM
Re: disable/enable ftp and cron daemon
vi /etc/inetd.conf change line:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
to:
#ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
then inetd -c
Cron, easier:
/sbin/init.d/cron stop
/sbin/init.d/cron start
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 05:41 AM
11-29-2005 05:41 AM
Re: disable/enable ftp and cron daemon
You disable ftp by editing /etc/inetd.conf and commenting the ftp line. Save and quit. Run "inetd -c".
For cron, you have to edit /etc/rc.config.d/cron. Change CRON=1 to CRON=0. That will keep it from starting next boot. (If it's running and you want to shut it down immeditaely, run "/sbin/init.d/cron stop" before making the edit to /etc/rc.config.d/cron.)
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 05:43 AM
11-29-2005 05:43 AM
Re: disable/enable ftp and cron daemon
for disabling FTP:
1]
A. # vi /etc/inetd.conf
Put comment (#) in the line :
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a -u000
B. # inetd -c
( To re-read the inetd.conf file )
2] for disabling cron :
# /sbin/init.d/cron stop
For permanent stop :
In /etc/rc.config.d/cron file make CRON=0
Enjoy ,
hth,
Raj.