i am using solaris 10 with run level 3.(Graphical Interface).
While several Gnu/Linux distributions and possibly other OSes have a specific run-level for the GUI, this has never been the case with Solaris (outside single-user mode which is obviously text only). Outside it, you simply enable or disable the GUI. The precise command depends on the release but should be one of
Hi,
Is it possible to specify runlevel
from bootloader command line?
I would like to override settings from /etc/inittab
without changing it.
Thanks (2 Replies)
Is it possible to give multiple runlevel options during boot up.. When the Welcome screen appears, i want to give multiple runlevel options.. So the user can boot into any desired runlevel he wants.. Found this kinda interesting.. Any hints and solutions please? (2 Replies)
Hi,
I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ).
Eg:
0000001
0000220
0001235
0000022
0000023
...........
.........
........
Like this i am having around 1500000 records. After adding... (23 Replies)
Ok, I am attempting to add a new program to startup during the runlevel 3. I am using Suse 10.
I made a script lets call it foostart and placed it in /etc/init.d. It has 777 permissions on the script.
I then created a link ln -s /etc/init.d/foostart /etc/init.d/rc3.d/S99foostart
But during... (9 Replies)
hi all
i have to run a script in run level 1 automatically i.e when i give init 1 from runlevel 3 that script should run after entering into runlevel 1.
where can i put that script so that it will run as i said above..???
something similar to rc.local but this will run in runlevel 3(... (1 Reply)
Hi,
I am trying with the following code to retrieve the runlevel of my Linux Ubuntu 8.04 system by reading the "utmp" database. But I am getting blank output. May I know what correction I should do inorder to make this program to work?
#include <stdio.h>
#include <stdlib.h>
#include... (1 Reply)
Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies
LEARN ABOUT OPENSOLARIS
netservices
netservices(1M) System Administration Commands netservices(1M)NAME
netservices - enable or disable network services
SYNOPSIS
netservices open
netservices limited
DESCRIPTION
The netservices command uses the Solaris service management facility, smf(5), to control services that accept over the network from remote
clients.
When netservices is invoked with the limited command-line argument, all network services except the secure shell daemon, sshd(1M), are
either disabled or constrained to respond to local requests only.
Invoking netservices with the open command-line argument enables a large set of network services, as in previous releases of Solaris.
To customize the configuration set enabled by netservices, use svcadm(1M) to enable or disable individual services. Use svccfg(1M) to set
properties that determine whether a service accepts input from remote clients. See the man pages for individual services for the names of
service instances and their properties.
Note that the netservices command has an interface stability of Obsolete.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO svcadm(1M), svccfg(1M), sshd(1M), attributes(5), smf(5)SunOS 5.11 31 Aug 2006 netservices(1M)