mbrainiac
(usa Debian)
Enviado em 17/01/2012 - 10:51h
crie desta forma
brainiac@hotpc:~$ su
Senha:
root@hotpc:/home/brainiac# apt-get update
Atingido
http://download.virtualbox.org squeeze Release.gpg
Atingido
http://ppa.launchpad.net lucid Release.gpg
Ign
http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu/ lucid/main Translation-en
Ign
http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu/ lucid/main Translation-pt
Atingido
http://deb.opera.com squeeze Release.gpg
Ign
http://deb.opera.com/opera/ squeeze/non-free Translation-en
Atingido
http://security.debian.org squeeze/updates Release.gpg
Ign
http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign
http://security.debian.org/ squeeze/updates/contrib Translation-pt
Ign
http://download.virtualbox.org/virtualbox/debian/ squeeze/contrib Translation-en
Ign
http://download.virtualbox.org/virtualbox/debian/ squeeze/contrib Translation-pt
Ign
http://download.virtualbox.org/virtualbox/debian/ squeeze/contrib Translation-pt_BR
Ign
http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu/ lucid/main Translation-pt_BR
Atingido
http://ppa.launchpad.net lucid Release.gpg
Ign
http://ppa.launchpad.net/s-lagui/ppa/ubuntu/ lucid/main Translation-en
Ign
http://ppa.launchpad.net/s-lagui/ppa/ubuntu/ lucid/main Translation-pt
Ign
http://ppa.launchpad.net/s-lagui/ppa/ubuntu/ lucid/main Translation-pt_BR
Atingido
http://ppa.launchpad.net natty Release.gpg
Ign
http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/ natty/main Translation-en
Atingido
http://download.virtualbox.org squeeze Release
Ign
http://security.debian.org/ squeeze/updates/contrib Translation-pt_BR
Ign
http://security.debian.org/ squeeze/updates/main Translation-en
Ign
http://security.debian.org/ squeeze/updates/main Translation-pt
Ign
http://security.debian.org/ squeeze/updates/main Translation-pt_BR
Ign
http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign
http://security.debian.org/ squeeze/updates/non-free Translation-pt
Ign
http://security.debian.org/ squeeze/updates/non-free Translation-pt_BR
Atingido
http://security.debian.org squeeze/updates Release
Ign
http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/ natty/main Translation-pt
Ign
http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/ natty/main Translation-pt_BR
Atingido
http://ppa.launchpad.net lucid Release.gpg
Ign
http://ppa.launchpad.net/conky-companions/ppa/ubuntu/ lucid/main Translation-en
Ign
http://ppa.launchpad.net/conky-companions/ppa/ubuntu/ lucid/main Translation-pt
Ign
http://ppa.launchpad.net/conky-companions/ppa/ubuntu/ lucid/main Translation-pt_BR
Atingido
http://ppa.launchpad.net lucid Release
Atingido
http://ppa.launchpad.net lucid Release
Atingido
http://ppa.launchpad.net natty Release
Ign
http://deb.opera.com/opera/ squeeze/non-free Translation-pt
Ign
http://deb.opera.com/opera/ squeeze/non-free Translation-pt_BR
Atingido
http://deb.opera.com squeeze Release
Atingido
http://ppa.launchpad.net lucid Release
Atingido
http://download.virtualbox.org squeeze/contrib i386 Packages
Atingido
http://security.debian.org squeeze/updates/main i386 Packages
Atingido
http://ppa.launchpad.net lucid/main i386 Packages
Atingido
http://security.debian.org squeeze/updates/contrib i386 Packages
Atingido
http://security.debian.org squeeze/updates/non-free i386 Packages
Atingido
http://ppa.launchpad.net lucid/main i386 Packages
Atingido
http://ppa.launchpad.net natty/main i386 Packages
Ign
http://deb.opera.com squeeze/non-free i386 Packages
Atingido
http://ppa.launchpad.net lucid/main i386 Packages
Atingido
http://deb.opera.com squeeze/non-free i386 Packages
Obter:1
http://dl.google.com stable Release.gpg [198 B]
Ign
http://dl.google.com/linux/chrome/deb/ stable/main Translation-en
Ign
http://dl.google.com/linux/chrome/deb/ stable/main Translation-pt
Ign
http://dl.google.com/linux/chrome/deb/ stable/main Translation-pt_BR
Obter:2
http://dl.google.com stable Release [1347 B]
Obter:3
http://www.debian-multimedia.org squeeze Release.gpg [198 B]
Ign
http://www.debian-multimedia.org/ squeeze/main Translation-en
Ign
http://www.debian-multimedia.org/ squeeze/main Translation-pt
Ign
http://www.debian-multimedia.org/ squeeze/main Translation-pt_BR
Ign
http://www.debian-multimedia.org/ squeeze/non-free Translation-en
Ign
http://www.debian-multimedia.org/ squeeze/non-free Translation-pt
Ign
http://www.debian-multimedia.org/ squeeze/non-free Translation-pt_BR
Obter:4
http://www.debian-multimedia.org squeeze Release [23,8 kB]
Atingido
http://ftp.br.debian.org squeeze Release.gpg
Ign
http://ftp.br.debian.org/debian/ squeeze/contrib Translation-en
Ign
http://ftp.br.debian.org/debian/ squeeze/contrib Translation-pt
Ign
http://ftp.br.debian.org/debian/ squeeze/contrib Translation-pt_BR
Ign
http://ftp.br.debian.org/debian/ squeeze/main Translation-en
Obter:5
http://dl.google.com stable/main i386 Packages [1228 B]
Obter:6
http://backports.debian.org squeeze-backports Release.gpg [836 B]
Ign
http://backports.debian.org/debian-backports/ squeeze-backports/contrib Translation-en
Ign
http://backports.debian.org/debian-backports/ squeeze-backports/contrib Translation-pt
Atingido
http://ftp.br.debian.org/debian/ squeeze/main Translation-pt
Atingido
http://ftp.br.debian.org/debian/ squeeze/main Translation-pt_BR
Ign
http://ftp.br.debian.org/debian/ squeeze/non-free Translation-en
Ign
http://ftp.br.debian.org/debian/ squeeze/non-free Translation-pt
Ign
http://ftp.br.debian.org/debian/ squeeze/non-free Translation-pt_BR
Atingido
http://ftp.br.debian.org squeeze Release
Ign
http://www.debian-multimedia.org squeeze Release
Ign
http://backports.debian.org/debian-backports/ squeeze-backports/contrib Translation-pt_BR
Ign
http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en
Ign
http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-pt
Ign
http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-pt_BR
Ign
http://backports.debian.org/debian-backports/ squeeze-backports/non-free Translation-en
Ign
http://backports.debian.org/debian-backports/ squeeze-backports/non-free Translation-pt
Ign
http://backports.debian.org/debian-backports/ squeeze-backports/non-free Translation-pt_BR
Atingido
http://www.debian-multimedia.org squeeze/main i386 Packages/DiffIndex
Obter:7
http://backports.debian.org squeeze-backports Release [77,6 kB]
Atingido
http://ftp.br.debian.org squeeze/main Sources
Atingido
http://ftp.br.debian.org squeeze/contrib Sources
Atingido
http://ftp.br.debian.org squeeze/non-free Sources
Atingido
http://ftp.br.debian.org squeeze/main i386 Packages
Atingido
http://ftp.br.debian.org squeeze/contrib i386 Packages
Atingido
http://ftp.br.debian.org squeeze/non-free i386 Packages
Atingido
http://www.debian-multimedia.org squeeze/non-free i386 Packages/DiffIndex
Atingido
http://download.unesp.br squeeze Release.gpg
Ign
http://download.unesp.br/linux/debian/ squeeze/contrib Translation-en
Ign
http://download.unesp.br/linux/debian/ squeeze/contrib Translation-pt
Ign
http://download.unesp.br/linux/debian/ squeeze/contrib Translation-pt_BR
Ign
http://download.unesp.br/linux/debian/ squeeze/main Translation-en
Atingido
http://download.unesp.br/linux/debian/ squeeze/main Translation-pt
Atingido
http://download.unesp.br/linux/debian/ squeeze/main Translation-pt_BR
Ign
http://download.unesp.br/linux/debian/ squeeze/non-free Translation-en
Ign
http://download.unesp.br/linux/debian/ squeeze/non-free Translation-pt
Ign
http://download.unesp.br/linux/debian/ squeeze/non-free Translation-pt_BR
Atingido
http://download.unesp.br squeeze Release
Atingido
http://download.unesp.br squeeze/main i386 Packages
Atingido
http://download.unesp.br squeeze/contrib i386 Packages
Atingido
http://download.unesp.br squeeze/non-free i386 Packages
Obter:8
http://backports.debian.org squeeze-backports/main i386 Packages/DiffIndex [6991 B]
Atingido
http://backports.debian.org squeeze-backports/contrib i386 Packages/DiffIndex
Atingido
http://backports.debian.org squeeze-backports/non-free i386 Packages/DiffIndex
Obter:9
http://backports.debian.org squeeze-backports/main i386 2012-01-16-1736.16.pdiff [1171 B]
Obter:10
http://backports.debian.org squeeze-backports/main i386 2012-01-16-1736.16.pdiff [1171 B]
Obter:11
http://backports.debian.org squeeze-backports/main i386 2012-01-16-1736.16.pdiff [1171 B]
Baixados 113 kB em 10s (10,3 kB/s)
Lendo listas de pacotes... Pronto
W: Erro GPG:
http://www.debian-multimedia.org squeeze Release: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 07DC563D1F41B907
root@hotpc:/home/brainiac# cd /
root@hotpc:/# ifconfig
eth0 Link encap:Ethernet Endereço de HW 08:00:27:6f:35:1d
inet end.: 10.0.2.15 Bcast:10.0.2.255 Masc:255.255.255.0
endereço inet6: fe80::a00:27ff:fe6f:351d/64 Escopo:Link
UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1
RX packets:322 errors:0 dropped:0 overruns:0 frame:0
TX packets:491 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:1000
RX bytes:213873 (208.8 KiB) TX bytes:71782 (70.0 KiB)
IRQ:10 Endereço de E/S:0xd020
lo Link encap:Loopback Local
inet end.: 127.0.0.1 Masc:255.0.0.0
endereço inet6: ::1/128 Escopo:Máquina
UP LOOPBACKRUNNING MTU:16436 Métrica:1
RX packets:288 errors:0 dropped:0 overruns:0 frame:0
TX packets:288 errors:0 dropped:0 overruns:0 carrier:0
colisões:0 txqueuelen:0
RX bytes:24192 (23.6 KiB) TX bytes:24192 (23.6 KiB)
root@hotpc:/# cd /etc/samba
root@hotpc:/etc/samba# ls
gdbcommands smb.conf
root@hotpc:/etc/samba# cp /etc/samba/smb.conf /etc/samba/smb.conf.bkp
root@hotpc:/etc/samba# ls
gdbcommands smb.conf smb.conf.bkp
root@hotpc:/etc/samba# rm smb.conf
root@hotpc:/etc/samba# nano smb.conf
[global]
workgroup = grupo marcel
netbios name = debianvbox
security = user
##[nome da pasta linux] abaixo pasta de nome publico
[publico]
comment = compartilhamento publico
path = /mnt/publico
public = yes
browseable = yes
read only = no
writable = yes
create mask = 0700
directory mask = 0700
F2, S , ENTER
root@hotpc:/etc/samba# /etc/init.d/samba restart
Stopping Samba daemons: nmbd smbd.
Starting Samba daemons: nmbd smbd.
root@hotpc:/etc/samba# cd
root@hotpc:~# pwd
/root
root@hotpc:~# cd /mnt
root@hotpc:/mnt# ls
root@hotpc:/mnt# ls -l
total 0
root@hotpc:/mnt# mkdir publico
root@hotpc:/mnt# ls
publico
root@hotpc:/mnt# chmod 777 publico
root@hotpc:/mnt# useradd maria
root@hotpc:/mnt# smbpaswd -a maria
bash: smbpaswd: comando não encontrado
root@hotpc:/mnt# smbpasswd -a maria
New SMB password:
Retype new SMB password:
Mismatch - password unchanged.
Unable to get new password.
root@hotpc:/mnt# useradd maria1
root@hotpc:/mnt# smbpasswd -a maria1
New SMB password:
Retype new SMB password:
Added user maria1.
root@hotpc:/mnt#