Sponsored Content
Full Discussion: runlevel issue
Operating Systems Solaris runlevel issue Post 302420685 by jlliagre on Wednesday 12th of May 2010 09:21:49 AM
Old 05-12-2010
Quote:
Originally Posted by kingston
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

Code:
/usr/dt/bin/dtconfig -d
svcadm disable cde-login
svcadm disable gdm2-login
svcadm disable gdm

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Runlevel in Freebsd?

Hello, Is there any runlevels in freebsd? Like in linux or solaris? Thanks -I (2 Replies)
Discussion started by: Insomniac
2 Replies

2. Linux

runlevel from cmdline or lilo?

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)
Discussion started by: odys
2 Replies

3. Linux

Runlevel(s)

Can some exsplain to to me what runlevel 1-9 do? I need to know. (5 Replies)
Discussion started by: Irish Jimmy
5 Replies

4. UNIX for Advanced & Expert Users

Multiple runlevel options at Bootup

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)
Discussion started by: srikumar_cs
2 Replies

5. Shell Programming and Scripting

Unix Arithmatic operation issue , datatype issue

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)
Discussion started by: thambi
23 Replies

6. SuSE

New runlevel service

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)
Discussion started by: benefactr
9 Replies

7. Red Hat

Running a script in runlevel 1

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)
Discussion started by: sagar_md
1 Replies

8. Programming

Problem in determining runlevel through a C program

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)
Discussion started by: royalibrahim
1 Replies

9. Shell Programming and Scripting

Need assistance with a file issue and a terminal issue

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)
Discussion started by: MrMagoo22
1 Replies

10. Shell Programming and Scripting

Variable value substitution issue with awk command issue

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
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)
All times are GMT -4. The time now is 05:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy