Go to file
Lorenzo Catucci 18fa4a32a6 system: allow/disallow root login, accept encoded passwords
Currently, there are only two possibilities regarding the root account:
  - it is enabled with no password (the default)
  - it is enabled, using a clear-text, user-provided password

This is deemed insufficient in many cases, especially when the .config
file has to be published (e.g. for the GPL compliance, or any other
reason.).

Fix that in two ways:

  - add a boolean option that allows/disallows root login altogether,
    which defaults to 'y' to keep backward compatibility;

  - accept already-encoded passwords, which we recognise as starting
    with either of $1$, $5$ or $6$ (resp. for md5, sha256 or sha512).

Signed-off-by: Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it>
[yann.morin.1998@free.fr:
  - don't add a choice to select between clear-text/encoded password,
    use a single prompt;
  - differentiate in the password hook itself;
  - rewrite parts of the help entry;
  - rewrite and expand the commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: "Lorenzo M. Catucci" <lorenzo@sancho.ccd.uniroma2.it>
Acked-by: "Lorenzo M. Catucci" <lorenzo@sancho.ccd.uniroma2.it>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-04 12:46:43 +02:00
arch arm: update processor types 2015-06-28 14:32:25 +02:00
board configs/olimex_a20_olinuxino_micro: new board 2015-07-02 11:00:13 +02:00
boot boot/at91bootstrap3: download via custom git url 2015-06-14 23:42:48 +02:00
configs configs/olimex_a20_olinuxino_micro: new board 2015-07-02 11:00:13 +02:00
docs scripts/mkusers: allow users with no password value set 2015-06-09 23:13:41 +02:00
fs fs/iso9660: add support for grub2 2015-06-14 23:25:18 +02:00
linux linux: bump default to version 4.1.1 2015-06-30 14:26:58 +02:00
package package/libtool: disable makeinfo 2015-07-04 12:43:41 +02:00
support support: remove outdated note re. Python 3 support 2015-06-12 21:19:52 +02:00
system system: allow/disallow root login, accept encoded passwords 2015-07-04 12:46:43 +02:00
toolchain toolchain: allow for stupid toolchains 2015-06-28 14:32:40 +02:00
.defconfig arch: kill avr32 2015-02-14 17:39:50 +01:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
CHANGES Update for 2015.05 2015-05-31 23:15:34 +02:00
Config.in Config.in: remove BR2_DEPRECATED_SINCE_2014_05 2015-06-02 22:58:29 +02:00
Config.in.legacy libsemanage: cleanup python use and license definition 2015-06-30 16:38:36 +02:00
COPYING clarify license and fix website license link 2009-05-08 09:29:41 +02:00
Makefile Makefile: Don't export VERBOSE unless V=1 (for CMake) 2015-06-25 00:48:55 +02:00
Makefile.legacy Makefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG 2014-02-11 08:14:57 +01:00
README README: mention 'make list-defconfigs' 2015-04-04 15:19:43 +02:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.