Article View: ahn.tech.linux
Article #4554Re: Eliminating Linux login.
From: Nick Maclaren
Date: Mon, 01 Dec 1997 00:00
Date: Mon, 01 Dec 1997 00:00
26 lines
2199 bytes
2199 bytes
In article <65tnbc$fvu@nntp02.primenet.com>, "Bob G" <bobg@iname.com> writes: |> Graham Philip Crowe wrote in message <65t4pi$hka$1@wyrm.its.uow.edu.au>... |> >Modify the /etc/inittab file and remove the mingetty lines and run bash |> >instead. This will not run the login programme but just a command shell. |> > |> >You will always be logged in as root though unless you set inittab to run |> >it under su. |> |> Would you mind showing the line you used in inittab, and the specifics of |> the su approach? I tried: |> |> 1:12345:respawn:/sbin/bash |> |> with no luck. It just gave me a blank screen that echo'ed my input. Try: 1:12345:respawn:/sbin/bash < /dev/console > /dev/console 2>&1 Nick Maclaren, University of Cambridge Computer Laboratory, New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. Email: nmm1@cam.ac.uk Tel.: +44 1223 334761 Fax: +44 1223 334679
Technical Details
Message-ID:
<65uk9h$dst$1@lyra.csx.cam.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bcf93e$e1ae0ce0$7e6e0ecb@033809mel.kpmg.com.au> <347D6A58.F083A66@spyvspy.com> <65t4pi$hka$1@wyrm.its.uow.edu.au> <65tnbc$fvu@nntp02.primenet.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,ddbced77300fe798 X-Google-Attributes: gid1103af,public X-Google-Thread: f906c,ddbced77300fe798 X-Google-Attributes: gidf906c,public X-Google-Thread: 10669a,ddbced77300fe798 X-Google-Attributes: gid10669a,public X-Google-Thread: 11033e,ddbced77300fe798 X-Google-Attributes: gid11033e,public X-Google-Thread: 102983,ddbced77300fe798 X-Google-Attributes: gid102983,public X-Google-Thread: 10d8ad,ddbced77300fe798 X-Google-Attributes: gid10d8ad,public X-Google-Thread: f9b51,ddbced77300fe798 X-Google-Attributes: gidf9b51,public X-Google-Thread: faa64,ddbced77300fe798 X-Google-Attributes: gidfaa64,public From: nmm1@cus.cam.ac.uk (Nick Maclaren) Subject: Re: Eliminating Linux login. Date: 1997/12/01 Message-ID: <65uk9h$dst$1@lyra.csx.cam.ac.uk> X-Deja-AN: 294211376 Sender: nmm1@taurus.cus.cam.ac.uk (Nick Maclaren) References: <01bcf93e$e1ae0ce0$7e6e0ecb@033809mel.kpmg.com.au> <347D6A58.F083A66@spyvspy.com> <65t4pi$hka$1@wyrm.its.uow.edu.au> <65tnbc$fvu@nntp02.primenet.com> Organization: University of Cambridge, England Newsgroups: ahn.tech.linux,alt.os.linux,alt.os.linux.slackware,aus.computers.linux,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.setup,uk.comp.os.linux