Article View: ahn.tech.linux
Article #4556Re: Eliminating Linux login.
From: Joseph Malicki
Date: Tue, 02 Dec 1997 00:00
Date: Tue, 02 Dec 1997 00:00
32 lines
2245 bytes
2245 bytes
Bob G wrote: > 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. > > Thanks, > > - Bob That won't work because I believe the getty's open the tty's and give them to stdin/stdout. I believe there is a program called sush or something (for super-user-shell) in /sbin that does that for you and just calls your shell instead the login program. I believe it is documented in the inittab manpage. -- Joseph Malicki jmalicki@bigfoot.com URL: <http://www.geocities.com/SiliconValley/4167/>
Technical Details
Message-ID:
<34850089.A06A6255@geocities.com>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: faa64,ddbced77300fe798 X-Google-Attributes: gidfaa64,public X-Google-Thread: f9b51,ddbced77300fe798 X-Google-Attributes: gidf9b51,public X-Google-Thread: 102983,ddbced77300fe798 X-Google-Attributes: gid102983,public X-Google-Thread: 11033e,ddbced77300fe798 X-Google-Attributes: gid11033e,public X-Google-Thread: 10d8ad,ddbced77300fe798 X-Google-Attributes: gid10d8ad,public X-Google-Thread: f906c,ddbced77300fe798 X-Google-Attributes: gidf906c,public X-Google-Thread: 10669a,ddbced77300fe798 X-Google-Attributes: gid10669a,public From: Joseph Malicki <jmalicki@geocities.com> Subject: Re: Eliminating Linux login. Date: 1997/12/02 Message-ID: <34850089.A06A6255@geocities.com> X-Deja-AN: 294728436 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> Reply-To: jmalicki@bigfoot.com Organization: HGO.Net 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