Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] passwd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
lukiw
n00b
n00b


Joined: 29 Oct 2005
Posts: 25
Location: Poland

PostPosted: Wed Aug 12, 2009 10:28 am    Post subject: [SOLVED] passwd Reply with quote

I prepare minimal linux base on gentoo. :)
I was installed all packages with "ROOT=/mnt/new" option.

List of installed packages:

Code:
sys-libs/ncurses-5.6-r2 to /mnt/new/ USE="minimal unicode -debug -doc -gpm -nocxx -profile -trace"
sys-apps/sed-4.2 to /mnt/new/ USE="-acl -nls -static"
sys-apps/grep-2.5.4-r1 to /mnt/new/ USE="-nls -pcre"
sys-apps/diffutils-2.8.7-r2 to /mnt/new/ USE="-nls -static"
sys-apps/gawk-3.1.6 to /mnt/new/ USE="-nls"
sys-apps/baselayout-2.0.1 to /mnt/new/ USE="-build"
sys-libs/glibc-2.9_p20081201-r2 to /mnt/new/ USE="-debug -gd -glibc-omitfp (-hardened) (-multilib) -nls -profile (-selinux) -vanilla"
 sys-apps/coreutils-7.1 to /mnt/new/ USE="-acl -caps -gmp -nls (-selinux) -static -vanilla -xattr"
sys-devel/binutils-2.18-r3 to /mnt/new/ USE="-gold -multislot -multitarget -nls -test -vanilla"
 sys-apps/util-linux-2.14.2 to /mnt/new/ USE="unicode -crypt -loop-aes -nls -old-linux (-selinux) -slang (-uclibc)"
sys-fs/e2fsprogs-1.41.3-r1 to /mnt/new/ USE="-nls"
sys-process/procps-3.2.7 to /mnt/new/ USE="(-n32)"
sys-libs/readline-5.2_p13 to /mnt/new/
sys-process/psmisc-22.6 to /mnt/new/ USE="-X -ipv6 -nls (-selinux)"
sys-apps/shadow-4.1.2.2 to /mnt/new/ USE="-audit -cracklib -nls -pam (-selinux) -skey"
sys-apps/sysvinit-2.86-r12 to /mnt/new/ USE="(-ibm) (-selinux) -static"
sys-fs/udev-141-r1 to /mnt/new/ USE="-devfs-compat (-selinux)"
app-shells/bash-3.2_p39 to /mnt/new USE="-afs -bashlogger -examples -nls -plugins -vanilla"


My emerge --info:

Code:
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-i686-Pentium_III_-Coppermine-with-glibc2.0
Timestamp of tree: Mon, 20 Jul 2009 06:50:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.4-r3
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="minimal nptl nptlonly unicode x86" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="ncurses" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


I enter to chroot and make following commands:
Code:
#chroot /mnt/new /bin/bash
#env-update && source /etc/profiles
#passwd


During changes root's password, passwd don't give me prompt to write new password.

Code:
Changing password for root
Enter the new password (minimum of 5 characters)
Please use a combination of upper and lower case letters and numbers.
Bad password: too short. 
Warning: weak password (enter it again to use it anyway).
Password changed.


What else I must install on my minimal system or which one flag (USE, FEATURES, ...) I must on?


Last edited by lukiw on Wed Aug 12, 2009 10:54 am; edited 1 time in total
Back to top
View user's profile Send private message
lukiw
n00b
n00b


Joined: 29 Oct 2005
Posts: 25
Location: Poland

PostPosted: Wed Aug 12, 2009 10:53 am    Post subject: Reply with quote

I solved problem.

I forgot /dev mounting before enter to chroot:

Code:
mount --bind /dev /mnt/new/dev
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum