SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Please see the LICENSE file for copyright information.

TinyLogin is a suite of tiny Unix utilities for handling logging into, being authenticated by, changing one's password for, and otherwise maintaining users and groups on an embedded system. It also provides shadow password support to enhance system security. TinyLogin is, as the name implies, very small, and makes an excellent complement to BusyBox on an embedded System. It can be used without BusyBox, of course, but I envision them being used together most of the time.

Why is something like TinyLogin useful?

[andersen@slag tinylogin]$ du -ch `which addgroup adduser delgroup \

        deluser getty login passwd su sulogin vlock`
    0       /usr/sbin/addgroup
    28K     /usr/sbin/adduser
    0       /usr/sbin/delgroup
    12K     /usr/sbin/deluser
    16K     /sbin/getty
    36K     /bin/login
    28K     /usr/bin/passwd
    24K     /bin/su
    12K     /sbin/sulogin

156K total

[andersen@slag tinylogin]$ ls -sh ./tinylogin 40k ./tinylogin*

`nuff said.

TinyLogin is a curious blend of code from a whole bunch of folks. It was originally cobbled together by Sean Bastille <hightide@ginch.org> based in part on the May of 1998 version of the shadow utilities, which can be downloaded from: ftp://ftp.ists.pwr.wroc.pl/pub/linux/shadow/ The build system, and the way in which TinyLogin invokes its component applications has been totally rewritten, based on the build system used for BusyBox. The code has also been majorly reworked to make it more internally consistent, to make it use fewer global variables, etc, by Erik Andersen.

TinyLogin may be used and distributed under the terms of GNU General Public License, with the addition of the special terms enumerated below by the shadow utilities license (a BSD style license which allows me to make future releases under the GPL).

TinyLogin, like BusyBox, is now modularized to easily allow you to build only the components you need, thereby reducing binary size. To turn off unwanted TinyLogin components, simply edit the file Config.h and comment out the parts you do not want using C++ style (//) comments.

After the build is complete a tinylogin.links file is generated which is then used by 'make install' to create symlinks to the tinylogin binary for all compiled in functions. By default, 'make install' will place a symlink forest into `pwd`/_install unless you have defined the PREFIX environment variable.


Bugs:
If you find bugs, follow the instructions at http://bugs.busybox.net/Reporting.html and submit a bug report. This way, we can be sure nothing falls through the cracks...
FTP:
Source for the latest released version can always be downloaded from

http://tinylogin.busybox.net/downloads/


CVS:
TinyLogin now has its own publically browsable CVS tree at:

http://busybox.net/cgi-bin/cvsweb/tinylogin/

Anonymous CVS access is available. For instructions, check out:

http://busybox.net/cvs_anon.html

For those that are actively contributing there is even CVS write access:

http://busybox.net/cvs_write.html


Please feed suggestions, bug reports, insults, and bribes back to:

        Erik Andersen 
        <andersen@codepoet.org>
        <andersee@debian.org>


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.