Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Jan 21, 2005 4:45 pm 
Offline
Senior Member

Joined: Sun Dec 19, 2004 6:46 pm
Posts: 58
fgetty is a fast and extremely small replacement for getty.

http://www.fefe.de/fgetty/

If you are running debian, just do `apt-get install fgetty` and then manually replace every occurance of the following substring in /etc/inittab

from: respawn:/sbin/getty 38400 tty
to: respawn:/sbin/fgetty tty

WARNING: Don't mess up inittab or you'll make your system unbootable. Don't edit inittab if you are new to Linux.


Top
   
 Post subject:
PostPosted: Fri Jan 21, 2005 8:13 pm 
Offline
Senior Member

Joined: Fri Feb 13, 2004 11:30 am
Posts: 140
Location: England, UK
A quick reminder that's always helpful for this sort of thing - if you do screw up and make your system unbootable (and if you're confident in Linux), see if you can free up 80MB or so from the Disk Images section, and use the Distribution Wizard to deploy a small Debian distribution (being the smallest distro available right now).

Then, edit the Debian profile and make sure the disk image containing the root of the other distro is somewhere in the profile. Boot it up, and use the tools available to you to mount the image and edit the inittab. Then shut down and reboot into your old profile.

This advice is elsewhere in the forums but it always bears repeating.


Top
   
 Post subject:
PostPosted: Sat Jan 29, 2005 7:11 pm 
Offline
Senior Newbie

Joined: Sun Jan 23, 2005 11:43 am
Posts: 6
apt cant find package fgetty

apt-get install fgetty
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package fgetty

what does your /etc/apt/sources.list look like ?

apt-cache search getty: returned nothing usefull

Im using debian 3.0r1 small.


Top
   
 Post subject:
PostPosted: Sun Jan 30, 2005 1:11 pm 
Offline
Senior Member

Joined: Sun Dec 19, 2004 6:46 pm
Posts: 58
If you use my sources.list with woody, it'll mess things up because I upgraded from woody to sarge. I also use apt pinning to use unstable for apps not found in sarge.

Seems packages.debian.org is down for this weekend.

Normally, you'd be able to see this package at:

http://packages.debian.org/fgetty

Also, the memory savings from fgetty are much better on machines running multiple instances. I think linode's have their inittab configured to only run one getty instance.

I use fgetty not only for memory savings but was told by someone in data security that it is more secure than getty.


Top
   
 Post subject:
PostPosted: Mon Jan 31, 2005 6:25 am 
Offline
Junior Member

Joined: Tue Sep 09, 2003 11:59 am
Posts: 47
Website: http://blog.griffinn.org/
You can always just traverse down ftp.debian.org manually:
http://ftp.debian.org/debian/pool/main/f/fgetty/fgetty_0.6-2_i386.deb


Top
   
 Post subject:
PostPosted: Mon Jan 31, 2005 1:02 pm 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
I wonder what's going on with packages.debian.org... That's a heck of an outage!


Top
   
 Post subject:
PostPosted: Mon Jan 31, 2005 1:44 pm 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
Oh, it seems to have come back up. With this not-so-helpful-anymore notice:

Quote:
Scheduled downtime: Due to a scheduled power shutdown at the site where this server is hosted, packages.debian.org will not be available from Saturday, January 29th 00:00 UTC until Monday, January 31th, 07:00 UTC.


Top
   
 Post subject:
PostPosted: Thu Feb 03, 2005 12:23 am 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
rndinit9 wrote:
apt cant find package fgetty

apt-get install fgetty
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package fgetty

what does your /etc/apt/sources.list look like ?

apt-cache search getty: returned nothing usefull

Im using debian 3.0r1 small.


Looks like it's only in testing/unstable, might be able to find a backport


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group