[gugs] boot/root floppies

Quique quique en sindominio.net
Vie Ago 9 16:10:36 CEST 2002


hola

estoy intentando crear artesanalmente unos diskettes de arranque (bueno,
casi artesanalmente, pues no estoy compilando, sino copiando los binarios
de sarge).

aunque todavía quedan cosas por pulir, el sistema arranca bien, salvo por
un detalle: en el login no me pide contraseña, solo el nombre del usuario
(root).
en el fichero /etc/passwd sí que tiene contraseña, así que supongo que me
habré dejado alguna biblioteca o algo.

ésta es la salida de ls -R -l /bin /etc /lib /sbin , a ver si veis algo
raro (o cualquier tipo de sugerencia, que es la 1a vez que hago esto):

/bin:
total 654
-rwxr-xr-x    1 root     root        82248 Apr 28 02:00 ash
-rwxr-xr-x    1 root     root         9696 Apr 28 02:30 cat
-rwxr-xr-x    1 root     root        34664 Mar 18 15:10 cp
-rwxr-xr-x    1 root     root        25576 Mar 18 15:10 df
-rwxr-xr-x    1 root     root         9704 Jul  9 02:21 false
-rwxr-xr-x    1 root     root         9784 Jul  7  2001 hostname
-rwsr-xr-x    1 root     root        34984 Apr  7 15:59 login
-rwxr-xr-x    1 root     root        43784 Mar 18 15:10 ls
-rwxr-xr-x    1 root     root        16520 Mar 18 15:10 mkdir
-rwxr-xr-x    1 root     root        23960 Jan 27  2002 more
-rwsr-xr-x    1 root     root        70104 Jan 27  2002 mount
-rwxr-xr-x    1 root     root        42088 Mar 18 15:10 mv
-rwxr-xr-x    1 root     root        58428 Apr 12 11:07 ps
-rwxr-xr-x    1 root     root         9704 Jul  9 02:21 pwd
-rwxr-xr-x    1 root     root        25352 Mar 18 15:10 rm
lrwxrwxrwx    1 root     root            3 Aug  9 07:58 sh -> ash
-rwxr-xr-x    1 root     root        32552 Jul  9 02:21 stty
-rwsr-xr-x    1 root     root        23176 Apr  7 15:59 su
-rwxr-xr-x    1 root     root         9256 Mar 18 15:10 sync
-rwxr-xr-x    1 root     root        23176 Mar 18 15:10 touch
-rwxr-xr-x    1 root     root         9704 Jul  9 02:21 true
-rwsr-xr-x    1 root     root        36952 Jan 27  2002 umount
-rwxr-xr-x    1 root     root        10856 Jul  9 02:21 uname

/etc:
total 15
-rw-r--r--    1 root     root          147 Aug  9 09:40 fstab
-rw-r--r--    1 root     root           10 Aug  9 09:40 group
drwxr-xr-x    2 root     root         1024 Aug  9 09:44 init.d
-rw-r--r--    1 root     root          118 Aug  9 09:50 inittab
-rw-------    1 root     root           60 Aug 10 16:42 ioctl.save
-rw-r--r--    1 root     root           29 Aug  9 09:41 issue
-rw-r--r--    1 root     root          898 Aug  9 09:47 ld.so.cache
-rw-r--r--    1 root     root           33 Aug  9 09:41 motd
-rw-r--r--    1 root     root           75 Aug 10 16:47 mtab
-rw-r--r--    1 root     root         1022 Aug  9 09:42 nsswitch.conf
-rw-r--r--    1 root     root          202 Aug  9 09:43 pam.conf
-rw-r--r--    1 root     root           42 Aug  9 10:20 passwd
drwxr-xr-x    2 root     root         1024 Aug  8 09:05 rc.d
drwxr-xr-x    2 root     root         1024 Aug  8 10:25 rcS.d
-rw-r--r--    1 root     root          317 Oct 22  2001 securetty

/etc/init.d:
total 1
-rwxr-xr-x    1 root     root           47 Aug  9 09:44 rcS

/etc/rc.d:
total 0

/etc/rcS.d:
total 0

/lib:
total 1785
-rwxr-xr-x    1 root     root        90210 Jul 18 11:53 ld-2.2.5.so
lrwxrwxrwx    1 root     root           11 Aug  9 07:58 ld-linux.so.2 ->
ld-2.2.5.so
-rwxr-xr-x    1 root     root      1153784 Jul 18 11:53 libc-2.2.5.so
lrwxrwxrwx    1 root     root           13 Aug  9 08:04 libc.so.6 ->
libc-2.2.5.so
-rw-r--r--    1 root     root        19136 Jul 18 11:53 libcrypt-2.2.5.so
lrwxrwxrwx    1 root     root           17 Aug  9 08:04 libcrypt.so.1 ->
libcrypt-2.2.5.so
-rw-r--r--    1 root     root         8008 Jul 18 11:53 libdl-2.2.5.so
lrwxrwxrwx    1 root     root           14 Aug  9 08:04 libdl.so.2 ->
libdl-2.2.5.so
lrwxrwxrwx    1 root     root           17 Aug  9 07:58 libncurses.so.5 ->
libncurses.so.5.2
-rw-r--r--    1 root     root       248132 May  9 22:11 libncurses.so.5.2
-rw-r--r--    1 root     root        32668 Jul 18 11:53 libnss_files-2.2.5.so
lrwxrwxrwx    1 root     root           21 Aug  9 08:04 libnss_files.so.2
-> libnss_files-2.2.5.so
lrwxrwxrwx    1 root     root           14 Aug  9 07:58 libpam.so.0 ->
libpam.so.0.72
-rw-r--r--    1 root     root        29420 Jan 21  2002 libpam.so.0.72
lrwxrwxrwx    1 root     root           19 Aug  9 08:04 libpam_misc.so.0
-> libpam_misc.so.0.72
-rw-r--r--    1 root     root         7500 Jan 21  2002 libpam_misc.so.0.72
-rw-r--r--    1 root     root        35244 Apr 12 11:07 libproc.so.2.0.7
-rw-r--r--    1 root     root       102172 Jul 18 11:53 libpthread-0.9.so
lrwxrwxrwx    1 root     root           17 Aug  9 07:58 libpthread.so.0 ->
libpthread-0.9.so
-rw-r--r--    1 root     root        56480 Jul 18 11:53 libresolv-2.2.5.so
lrwxrwxrwx    1 root     root           18 Aug  9 07:58 libresolv.so.2 ->
libresolv-2.2.5.so
-rw-r--r--    1 root     root        23388 Jul 18 11:53 librt-2.2.5.so
lrwxrwxrwx    1 root     root           14 Aug  9 07:58 librt.so.1 ->
librt-2.2.5.so
drwxr-xr-x    2 root     root         1024 Aug  9 13:16 security

/lib/security:
total 4
-rw-r--r--    1 root     root         3800 Jan 21  2002 pam_permit.so

/sbin:
total 76
-rwxr-xr-x    1 root     root        12952 Jan 27  2002 getty
-rwxr-xr-x    1 root     root         9104 May 28 10:54 halt
-rwxr-xr-x    1 root     root        27844 May 28 10:54 init
lrwxrwxrwx    1 root     root            4 Aug  9 07:58 reboot -> halt
-rwxr-xr-x    1 root     root        15496 May 28 10:54 shutdown
lrwxrwxrwx    1 root     root            6 Aug  9 07:58 swapoff -> swapon
-rwxr-xr-x    1 root     root         6236 Jan 27  2002 swapon
lrwxrwxrwx    1 root     root            4 Aug  9 07:58 telinit -> init

si necesitais saber el contenido de cualquier fichero de configuración, no
tenéis más que decirlo.

gracias,
 quique


-- 
One of these days Mr. Opportunity gonna be knocking on my door





Más información sobre la lista de distribución Gugs