04-01-2002
Ports Disabling
I will want to disable all the ports not needed in my UNIX.
If I put a # sign at the beginning of the line of the port name I want to disable in /etc/services.... that's all????? Or I need to do anything else to disable a port????
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do you keep users from logging on while you do file maintenance? Is there a way to temporarily disable telnet? (2 Replies)
Discussion started by: michieka
2 Replies
2. UNIX for Dummies Questions & Answers
how do i disable the telnet (2 Replies)
Discussion started by: rmuhammad
2 Replies
3. Post Here to Contact Site Administrators and Moderators
. (8 Replies)
Discussion started by: Driver
8 Replies
4. Solaris
I am running solaris 9.. currently has telnet / ssh access..
Initially I just want to stop telnet access (but leave ftp open as some scripts etc still using this and need modification)
As far as I know I just need to do the following:
edit the /etc/inetd.conf file and comment out:
telnet ... (2 Replies)
Discussion started by: frustrated1
2 Replies
5. UNIX for Dummies Questions & Answers
Is there a way to disable log rotation? (just for wtmp)
I'm looking in /etc/logrotate.conf and I checked the man page but didn't see any option to disable. Is it as simple as commenting out monthly and rotate lines?
/var/log/wtmp {
missingok
# monthly
create 0664 root utmp
# ... (2 Replies)
Discussion started by: primal
2 Replies
6. UNIX for Dummies Questions & Answers
How do you disable a server, #1, from trying to use the NIS that is running on another server, #2?
I would like the #1 server to just use the local etc/shadow file (3 Replies)
Discussion started by: calamine
3 Replies
7. Solaris
hi,
is it possible to disable the "hardware watchdog" on a V240 sol 10 server?
and how to?
this server freeze 9/10 during boot on this command...:mad:
thanks (3 Replies)
Discussion started by: guilik
3 Replies
8. Shell Programming and Scripting
Hi All,
I need disable all the crontab job in the cron and then later have to enable the crontab job by shell scripting. or otherwise disable the cron and enable cron again by means of unix shell scripting.
Please can you one help me out in this.
Thanks in Advance.
Regards,
Sindu (2 Replies)
Discussion started by: indira_s
2 Replies
9. Solaris
Hello everyone,
can anyone tell me how to disable sendmail on solaris 10?
I seem to have the sendmail process from hell. Did an SVCS | grep for mail and disabled the 2 processes it threw up. But something is still respawning sendmail (if I kill it manually) and it's doing the usual... (2 Replies)
Discussion started by: callmebob
2 Replies
10. Hardware
Hi All
I'm find out a way to disable the DGD: AMD Radeon HD 7470M on my Ubutu 16.04.2 LTS because radeon open source module is not capable to support this GPU and consequence the boot is very slow.
I have tried serveral way with pci-stub.ids in the grub menu but not work.
In general how... (11 Replies)
Discussion started by: _Fabio_79
11 Replies
LEARN ABOUT OPENSOLARIS
services
services(4) File Formats services(4)
NAME
services - Internet services and aliases
SYNOPSIS
/etc/inet/services
/etc/services
DESCRIPTION
The services file is a local source of information regarding each service available through the Internet. The services file can be used in
conjunction with or instead of other services sources, including the NIS maps "services.byname" and the NIS+ table "services." Programs
use the getservbyname(3SOCKET) routines to access this information.
The services file contains an entry for each service. Each entry has the form:
service-name port/protocol aliases
service-name This is the official Internet service name.
port/protocol This field is composed of the port number and protocol through which the service is provided, for instance, 512/tcp.
aliases This is a list of alternate names by which the service might be requested.
Fields can be separated by any number of SPACE and/or TAB characters. A number sign (#) indicates the beginning of a comment; any charac-
ters that follow the comment character up to the end of the line are not interpreted by routines which search the file.
Service names may contain any printable character other than a field delimiter, a NEWLINE, or a comment character.
Any changes to a port assignment do not affect the actual port registration of the service.
FILES
/etc/nsswitch.conf configuration file for name-service switch
SEE ALSO
getservbyname(3SOCKET), inetd.conf(4), nsswitch.conf(4)
NOTES
/etc/inet/services is the official SVR4 name of the services file. The symbolic link /etc/services exists for BSD compatibility.
SunOS 5.11 12 Oct 2000 services(4)