> > 3. How do I set the UML root password ? > > [UML]# passwd > > passwd: error while loading shared libraries: libuser.so.1: cannot > > open shared object file: No such file or directory > > [UML]# > > This seems a problem in the root filesystem you are using. Maybe you can fix > it with its package manager, maybe not easily. (Obviously there's nothing > related to UML specifically here). > If you are lucky, a simple "ldconfig" will solve the problem. > ldconfig didn't work. Here is the ouput of ldd /usr/bin/passwd
[EMAIL PROTECTED] ~]# ldd /usr/bin/passwd libuser.so.1 => not found libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001e000) libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0x4004c000) libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0x4008b000) libdl.so.2 => /lib/libdl.so.2 (0x4008e000) libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x40092000) libpopt.so.0 => /usr/lib/libpopt.so.0 (0x40130000) libpam_misc.so.0 => /lib/libpam_misc.so.0 (0x40139000) libaudit.so.0 => /lib/libaudit.so.0 (0x4013c000) libselinux.so.1 => /lib/libselinux.so.1 (0x40150000) libc.so.6 => /lib/libc.so.6 (0x40167000) libpam.so.0 => /lib/libpam.so.0 (0x402a8000) /lib/ld-linux.so.2 (0x40000000) libsepol.so.1 => /lib/libsepol.so.1 (0x402b4000) [EMAIL PROTECTED] ~]# I'm using the FC6 root_fs from http://uml.nagafix.co.uk/. "/usr/sbin/usermod -p my_pass root" set the password, but wouldn't allow me to log in using that password. So I had to mount root_fs and remove the entry from /etc/shadow to again login as root without password. So my root login is still without password :( Does libuser.so.1 => not found mean that the root_fs file system has a problem? Thanks, KM > > I brought up the UML using these options - > > ./linux mem=128M ubd0=root_fs con0=fd:0,fd:1 con=xterm > > eth0=tuntap,,,192.168.0.254 > > > > Any help will be greatly appreciated. > > > > Thanks, > > KM > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > User-mode-linux-user mailing list > > User-mode-linux-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > > > > -- > Inform me of my mistakes, so I can add them to my list! > Paolo Giarrusso, aka Blaisorblade > http://www.user-mode-linux.org/~blaisorblade > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user