FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 07-27-2008, 03:48 AM
Default What is ~~ into inittab?

On Sun, 27 Jul 2008 02:33:48 +0000
Oscar Corte <oect_1964@hotmail.com> wrote:

> Hi all:
> I've been reading about the boot process and the inittab file. So far I understand about the fields separated by “:”, etc.
> At some point my inittab file contains :
> # What to do in single-user mode.
> ~~:S:wait:/sbin/sulogin
> Could somebody give me a hint about what does the “~~” means at the 'id' field?
> All I know is that this sign (~) is a reference to the user's home directory
> Thanks in advance for any answers

>From 'man inittab':

An entry in the inittab file has the following format:


Lines beginning with ‘#’ are ignored.

id is a unique sequence of 1-4 characters which identifies an entry in inittab (for versions of
sysvinit compiled with the old libc5 (< 5.2.18) or a.out libraries the limit is 2 characters).

So it seems that the particular value of the field is unimportant, and
~~ doesn't necessarily mean anything special. Caveat: I'm no expert on
this stuff, and I may be completely wrong.

> Oscar

mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 08:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org