Re: customizing runlevel 1

From: Schelstraete Bart (bart_at_schelstraete.org)
Date: 10/31/04

  • Next message: NapsterSupportUK: "Re: Error in document [#713616]"
    To: Benedict Verheyen <linux4bene@telenet.be>
    Date: Sun, 31 Oct 2004 23:48:12 +0100
    
    

    Hello,

    Runlevel 1 is single user mode => no users can connect.
    This means that the inetd , network services are closed. So also SSH
    will be closed.
    If you still want to use the SSH in runlevel one, remove the shutdown
    off the ssh from runlevel 1,2,3.

    #> rm /etc/rc1.d/K20ssh
    #> rm /etc/rc2.d/K20ssh
    #> rm /etc/rc2.d/K20ssh

    (not all off those files will exist, depends on your system settings)

    rgrds,

    Bart

    On Sun, 2004-10-31 at 21:25 +0100, Benedict Verheyen wrote:
    >
    > Is there anyway that i can keep the network in runlevel 1 or should i

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

  • Next message: NapsterSupportUK: "Re: Error in document [#713616]"

    Relevant Pages

    • Re: cant log in
      ... What is actually done is booting to "single user mode", ... where the operating system shuts down and a "warm" reboot is initiated. ... # runlevel S is single-user ... # runlevel 1 is multi-user without network ...
      (alt.os.linux.suse)
    • Re: [opensuse] How to mount USB drive in single user mode?
      ... Single user mode is not runlevel 1:) I was booting by putting "single" on the GRUB command line, and the external drive simply doesn't get seen in that mode. ... none are supported by fat, so you will loose them in the backup, and the restore operation will fail to restore a working system, unless you save a list of all that things on another file and have a script to recreate them. ...
      (SuSE)
    • Re: Impossible to stop X in Debian ????????
      ... > init 2 should not have xserver starting unless your levels are scr^wed ... In the distant past, when networking was new to Unix, runlevel 2 was ... the level at which one wouldn't have any network services, ... This does not "shut down the Xserver," per se; ...
      (comp.os.linux.x)
    • Re: Customising Session Shortcuts
      ... # Default runlevel. ... Ali Helmy wrote: ... Keep one text-based console, though. ...
      (Fedora)
    • Re: sysvinit/gnome/display bug report
      ... >The symptoms are that trying ... You don't use 'init s' to go to single user mode. ... to go through runlevel 1 so things get shut down properly. ...
      (Debian-User)