Sponsored Content
Full Discussion: Linux Changing Run Levels
Operating Systems Linux Debian Linux Changing Run Levels Post 302985663 by hwpplayer1 on Sunday 13th of November 2016 10:42:22 PM
Old 11-13-2016
Tools Linux Changing Run Levels

Hi this is my first thread. I use KDE and Gnome on Debian. I configured inittab like what it should be. But when i have an inittab file i can't see anything when i run who -r command.

This is the result of who -r without /etc/inittab

Code:
hwpplayer1@build3:~$ who -r
         açılış-seviyesi 5 2016-11-14 06:32

I couldn't understand. Thanks for help

Linux Changing Run Levels
Moderator's Comments:
Mod Comment Please use CODE tags when displaying sample input, sample output, and code segments.

Last edited by hwpplayer1; 11-13-2016 at 11:56 PM.. Reason: added link; added CODE and ICODE tags.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Too many levels of symbolic links

Hi, Is there a limit to the number of symbolic links you can have? I tried to vi the symbolic link relating to a file and got the following error: "filename" Too many levels of symbolic links There is only one symbolic link to one file in this case, but there are >2000 other links to... (2 Replies)
Discussion started by: Bab00shka
2 Replies

2. Solaris

RAID Levels

hi, what are the RAID Levels followed for various File systems ? thanks (3 Replies)
Discussion started by: sol8admin
3 Replies

3. Solaris

Init levels

I have a problem, i dont know if its a normal behaviour or not, i can go to a lower init level, but i cant go to a higher one again, for instance i can run the command init 2 while im at init 3 and when i do who -r i find myself go down to 2 but if i type init 3 and wait im still finding myself in... (1 Reply)
Discussion started by: XP_2600
1 Replies

4. UNIX for Advanced & Expert Users

Unix Run Levels confusion

Hi, Could somebody throw some light on the below queries: - For a run-level X, the S* scripts are executed when coming here from X-n run-level. The K* scripts are executed when coming to X runlevel from X+n runlevel. - Does reaching to runlevel X from X-3 executes K* scritps from X-2 & X-1... (4 Replies)
Discussion started by: vibhor_agarwali
4 Replies

5. UNIX for Dummies Questions & Answers

Search through 2 levels of zip

Hi guys, I know I'm missing something simple here. We have about 500 zipped files in a directory which contain more zip files and within those I need to find a file without unzipping everything. I know I can use zipinfo which I'm trying to create a for loop to go through the files and... (4 Replies)
Discussion started by: petef
4 Replies

6. Solaris

Levels of support

Hello, I have a simple question because I can not find the information at oracle.com I want to buy support for OS Solaris and Servers hardware. I need information what are the levels of support and how much they cost? I need a help. Have a nice day (3 Replies)
Discussion started by: bieszczaders
3 Replies

7. Cybersecurity

Unable to run 'su' and 'sudo' after changing permissions on /etc

Hello, I'm running rhel6 64bit. Accidentally I ran % chmod -R 777 /etc and after that I have a problem to do 'su' or 'sudo'. When I did sudo it complained that /etc/sudoers has 777 while it should be 0440. I changed that and also restored right permission for: -rw-r--r-- 1 root root 1966 May 19... (2 Replies)
Discussion started by: susja
2 Replies

8. AIX

AIX How to run a Shell Script by changing the User

Hi All, Currently our application is running on the server having AIX 5.3 OS. What we intend to do is to run a shell script owned by another user and needs to be run as that particular user. I was trying to create a shell script using the su command before running the actual script (which... (4 Replies)
Discussion started by: acoomer
4 Replies

9. Solaris

Run levels in Solaris 11

Hi Guys, I need to change the following script ( which is good for Linux) for Solris 11 #start oracle start on runlevel stop on runlevel What it should be for Solrais 11. Thanks for your help. Regards Terry (2 Replies)
Discussion started by: terrykhatri531
2 Replies
latsetup(8)						      System Manager's Manual						       latsetup(8)

NAME
latsetup - Local Area Transport (LAT) setup utility SYNOPSIS
/usr/sbin/latsetup [-nocurses] OPTIONS
Specifies that latsetup is run in noncurses and nonmenu-driven mode. Use this option if the terminal you are using does not support curses. Note that using the latsetup command with the -nocurses option provides limited functionality. DESCRIPTION
The latsetup command provides an interactive, menu-driven facility for administrating LAT on your system. (For introductory information on LAT, see the lat_intro(7) reference page.) To use latsetup, LAT must be built into the running kernel, your system must be at run level 3 or 4, and you must be logged in as supe- ruser. For more information, see the Network Administration manual. Note Running multiple latsetup processes concurrently on the same machine can cause erroneous information to be presented to the latsetup user and can corrupt the /etc/inittab file. You can use the latsetup utility to perform the following tasks: Do initial LAT setup Create LAT device special files Add or delete getty entries to or from the /etc/inittab file Execute init q Start or stop the LAT driver Enable or disable LAT automatic startup and shutdown If LAT is not configured into the running kernel, latsetup only allows you to remove the LAT entries from the /etc/inittab file. If you enable LAT automatic startup and shutdown, the /sbin/init.d/lat script starts LAT upon reaching run level 3 and stops LAT upon leav- ing run level 3. To run latsetup, log in as superuser and enter the following command: # /usr/sbin/latsetup Note LAT is not supported over NetRAIN virtual interfaces or the adapters that compose NetRAIN sets. The latsetup utility does not allow you to configure LAT over these interfaces, and you should not attempt to do so manually. In the device creation phase, you choose to create SVR4-style or BSD-style devices. (For an explanation of the types of devices, see the Network Administration manual.) You should use SVR4-style devices; they allow a larger number of devices. If you create SVR4 devices using latsetup, and an SVR4 device was mapped as an application port and the device was removed, the port (or service) information remains associated with the minor number corresponding to the device that was removed. Therefore, when latsetup cre- ates more devices, it may create the device that was mapped as an application port (if the device name is within the range of SVR4 devices being created). The latsetup utility does not add a getty entry for the device in the /etc/inittab file. This device is not counted as a newly created SVR4 device, because it is already being used as an application port. If you delete SVR4 devices using latsetup, and an SVR4 device was mapped as an application port and has an associated getty entry in the inittab file, if the device name is within the range of SVR4 devices being removed, latsetup removes the associated getty entry in the /etc/inittab file. When removing SVR4 devices, latsetup does not remove the device, because it is mapped as an application port. This device is not counted as an SVR4 device that has been removed. Note The latsetup utility creates device names that directly correspond to minor numbers (for example, SVR4 device /dev/lat/620 corresponds to minor number 620). Customization After you run latsetup, you can customize your system's LAT environment by modifying the following files: /etc/inittab Edit the /etc/inittab file to add any LAT entries. For example, you can add an entry for the LAT/Telnet gateway. For more informa- tion refer to the guide to Network Administration and inittab(4). Note If you delete entries in the /etc/inittab file and then run latsetup to make other changes or deletions, latsetup might not be able to complete successfully. /etc/latstartup.conf Create and modify the /etc/latstartup.conf file to include latcp commands to customize your LAT system. This file is read by the /sbin/init.d/lat script, which executes the commands included in the file. For example, you can change the LAT node name or add additional service names. If your system is a member of a cluster, you must create this file as a Context-Dependent Symbolic Link (CDSL). See the System Administration guide for more information. For more information refer to the guide to Network Administration and latcp(8). FILES
Specifies the BSD LAT terminal devices. (Where W is a number from 0 to 9 and X is an alphanumeric character from 0 to 9, a lowercase a to z, or an uppercase A to Z.) LAT supports up to 620 BSD LAT terminal devices. Specifies the SVR4 LAT device special files. (Where n is a number starting at 620 and having no upper limit.) Specifies the LAT control device. Specifies the LAT startup and shutdown script. Specifies LAT customization commands. If your system is a member of a cluster, you must create this file as a Context-Dependent Symbolic Link (CDSL). See the System Administration guide for more information. Sets up the system database to automatically push the ldterm STREAMS module on top of the LAT STREAMS driver each time a LAT tty is opened. Controls the initialization process. Specifies the system configuration file. SEE ALSO
Commands: llogin(1), init(8), latcp(8), MAKEDEV(8), strsetup(8) Files: inittab(4) Introduction: lat_intro(7), lat_manual_setup(7) Network Administration latsetup(8)
All times are GMT -4. The time now is 11:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy