gracias por el alineto, recien temprano volvi a intentarlo, la pass que le puse fue 12345678, aclaro que el proceso lo estoy haciendo desde un pendrive... voy a tratar de usar un cd mas tarde, pero aca les pego lo que me sale. No edito el post porque no se como hacerlo.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ mkdir /tmp/share
ubuntu@ubuntu:~$ sudo apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
openbsd-inetd inet-superserver smbldap-tools ldb-tools
The following NEW packages will be installed:
samba
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,278kB of archives.
After this operation, 17.2MB of additional disk space will be used.
Err
http://security.ubuntu.com/ubuntu lucid-security/main samba 2:3.4.7~dfsg-1ubuntu3.8
404 Not Found [IP: 91.189.92.200 80]
Err
http://archive.ubuntu.com/ubuntu lucid-updates/main samba 2:3.4.7~dfsg-1ubuntu3.8
404 Not Found [IP: 91.189.92.201 80]
Failed to fetch
http://archive.ubuntu.com/ubuntu/poo...tu3.8_i386.deb 404 Not Found [IP: 91.189.92.201 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
ubuntu@ubuntu:~$ sudo apt-get update
Ign cdrom://Ubuntu 10.04.4 LTS _Lucid Lynx_ - Release i386 (20120214.2)/ lucid/main Translation-en_US
Ign cdrom://Ubuntu 10.04.4 LTS _Lucid Lynx_ - Release i386 (20120214.2)/ lucid/restricted Translation-en_US
Get:1
http://security.ubuntu.com lucid-security Release.gpg [198B]
Ign
http://security.ubuntu.com/ubuntu lucid-security/main Translation-en_US
Ign
http://security.ubuntu.com/ubuntu lucid-security/restricted Translation-en_US
Hit
http://archive.ubuntu.com lucid Release.gpg
Ign
http://archive.ubuntu.com/ubuntu lucid/main Translation-en_US
Ign
http://archive.ubuntu.com/ubuntu lucid/restricted Translation-en_US
Get:2
http://archive.ubuntu.com lucid-updates Release.gpg [198B]
Ign
http://archive.ubuntu.com/ubuntu lucid-updates/main Translation-en_US
Ign
http://archive.ubuntu.com/ubuntu lucid-updates/restricted Translation-en_US
Get:3
http://security.ubuntu.com lucid-security Release [57.3kB]
Hit
http://archive.ubuntu.com lucid Release
Get:4
http://archive.ubuntu.com lucid-updates Release [58.3kB]
Get:5
http://security.ubuntu.com lucid-security/main Packages [478kB]
Hit
http://archive.ubuntu.com lucid/main Packages
Hit
http://archive.ubuntu.com lucid/restricted Packages
Hit
http://archive.ubuntu.com lucid/main Sources
Hit
http://archive.ubuntu.com lucid/restricted Sources
Get:6
http://archive.ubuntu.com lucid-updates/main Packages [671kB]
Get:7
http://security.ubuntu.com lucid-security/restricted Packages [2,867B]
Get:8
http://archive.ubuntu.com lucid-updates/restricted Packages [4,630B]
Get:9
http://archive.ubuntu.com lucid-updates/main Sources [234kB]
Get:10
http://security.ubuntu.com lucid-security/main Sources [135kB]
Get:11
http://security.ubuntu.com lucid-security/restricted Sources [1,267B]
Get:12
http://archive.ubuntu.com lucid-updates/restricted Sources [2,196B]
Fetched 1,644kB in 14s (116kB/s)
Reading package lists... Done
ubuntu@ubuntu:~$ sudo gedit /etc/samba/smb.conf
ubuntu@ubuntu:~$ sudo useradd guest -m -G users
ubuntu@ubuntu:~$ sudo passwd guest
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
ubuntu@ubuntu:~$ sudo smbpasswd -a guest
New SMB password:
Retype new SMB password:
Unable to create directory /var/run/samba for file mutex.tdb. Error was No such file or directory
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /var/lib/samba/passdb.tdb file.
account_policy_get: tdb_fetch_uint32 failed for field 1 (min password length), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to change password), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password age), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count minutes), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout attempt), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), returning 0
account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine password change), returning 0
Added user guest.
ubuntu@ubuntu:~$ sudo restart smbd
restart: Unknown job: smbd
ubuntu@ubuntu:~$ cd /tmp/share
ubuntu@ubuntu:/tmp/share$ wget
http://vulnfactory.org/public/motoshare.tgz
--2013-04-08 12:07:56--
http://vulnfactory.org/public/motoshare.tgz
Resolving vulnfactory.org... 199.188.204.9
Connecting to vulnfactory.org|199.188.204.9|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1846109 (1.8M) [application/x-tar]
Saving to: `motoshare.tgz'
100%[==========================================>] 1,846,109 121K/s in 15s
2013-04-08 12:08:12 (120 KB/s) - `motoshare.tgz' saved [1846109/1846109]
ubuntu@ubuntu:/tmp/share$ tar xvf motoshare.tgz
adb
busybox
eu.chainfire.supersu.apk
pwn
su
ubuntu@ubuntu:/tmp/share$ sudo chown root:root pwn
ubuntu@ubuntu:/tmp/share$ sudo chmod 6755 pwn
ubuntu@ubuntu:/tmp/share$