[ajuda] PEN: Permissões

Started by huntedbyafreak, May 19, 2007, 06:50:54 PM

Previous topic - Next topic

masterhard

sudo su -
a tua password

agora vou copy paste dos comandos  :?


mkdir /media/usbpen
nano /etc/fstab

acrescenta esta linha:
/dev/sd qualquer coisa que corresponde a tua pen /media/usbpen auto rw,user,auto 0 0

pra verificar qual o dispositivo exacto da pen, faz fdisk -l

caso nao deia, mete o teu username no grupo sudo

substitui wheel por sudo
usermod -G sudo maribas

se nao tem sudo mete no grupo admin pra subires a root com sudo

usermod -G admin maribas

exit

tira e poe a caneta (nao sejas depravado!)
 

ja agora,que distro usas?
Se o mundo te virar costas, nao vires costas ao mundo, vai-lhe ao cu!
Se a Muralha da China pegasse fogo, seria a maior firewall do Mundo!
blacksheep-----fake hosting services since 1$ only for fake businessman----sponsored by ASAE
Oferecemos Cursos de Coveiro WebTuga --> O primeiro em Portugal com MBA da Independente incorporado
"Well, I guess it would be nice if I could touch your body" --George Michael\'s \'Faith\'
Sing these words in a recording studio, and you win Album of the Year. Say them in a public bathroom, and you get busted.
The basic difference is this: hackers build things, crackers break them.
O novo Windows será o Se7en. Será uma sequela do famoso filme de terror Se7en?
MADNESS?? THIS Is SPARTTTAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!
Sponsored by InTeRnEt SeRiOuS BuSiNeSs and MiCrOsOfT SeRiOuS BuSiNeSs!
MCSE -> Minesweeper Consultant and Solitaire Expert
VISTA -> Virus Infection and Spyware Transmission Architecture

huntedbyafreak

Estranhamente, nem assim abre. Se coloco so "gedit" abre. Se coloco "sudo gedit" nao abre. :S

Tou a usar o Ubuntu 6.10 Edgy

brunomiguel

:?:  :?:
a tua conta está no grupo dos "sudoers"?

huntedbyafreak

Arghh parece que o "sudo" deixou de funcionar.
E o caminho "Sistema > Administração > Janela de Início de Sessão > Separador " Segurança" nao sei porque tambem, deixou de existir  :shock:

O meu Ubuntu está a ruir  :| Raio parta as permissões!

masterhard

sai do login maribas e entra directamente como root e faz os comandos duma vez
Se o mundo te virar costas, nao vires costas ao mundo, vai-lhe ao cu!
Se a Muralha da China pegasse fogo, seria a maior firewall do Mundo!
blacksheep-----fake hosting services since 1$ only for fake businessman----sponsored by ASAE
Oferecemos Cursos de Coveiro WebTuga --> O primeiro em Portugal com MBA da Independente incorporado
"Well, I guess it would be nice if I could touch your body" --George Michael\'s \'Faith\'
Sing these words in a recording studio, and you win Album of the Year. Say them in a public bathroom, and you get busted.
The basic difference is this: hackers build things, crackers break them.
O novo Windows será o Se7en. Será uma sequela do famoso filme de terror Se7en?
MADNESS?? THIS Is SPARTTTAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!
Sponsored by InTeRnEt SeRiOuS BuSiNeSs and MiCrOsOfT SeRiOuS BuSiNeSs!
MCSE -> Minesweeper Consultant and Solitaire Expert
VISTA -> Virus Infection and Spyware Transmission Architecture

brunomiguel

Olha, faz backup dos teus documentos e volta a instalar tudo e desta vez não inventes tanto. Foi assim que também fodi algumas vezes a minha instalação...

huntedbyafreak

Como é que entro directamente como root? (tentei meter no username "root" e na pass a minha pass do "maribas", mas nao deu)

O Ubuntu ja nem a PEN está a detectar...

Tou a ver que vou ter que dar uma arrumação à casa. Como tenho isto a correr no VMWare nem tou assim tao mal. Ate la vou mandando mails pra mim proprio com os ficheiros que quero guardar  :roll:

brunomiguel

quando te aparecer o GDM, a cena para fazer login, carrega ctrl+alt+f1 e mete root como username e a pass de root

masterhard

Se o mundo te virar costas, nao vires costas ao mundo, vai-lhe ao cu!
Se a Muralha da China pegasse fogo, seria a maior firewall do Mundo!
blacksheep-----fake hosting services since 1$ only for fake businessman----sponsored by ASAE
Oferecemos Cursos de Coveiro WebTuga --> O primeiro em Portugal com MBA da Independente incorporado
"Well, I guess it would be nice if I could touch your body" --George Michael\'s \'Faith\'
Sing these words in a recording studio, and you win Album of the Year. Say them in a public bathroom, and you get busted.
The basic difference is this: hackers build things, crackers break them.
O novo Windows será o Se7en. Será uma sequela do famoso filme de terror Se7en?
MADNESS?? THIS Is SPARTTTAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!
Sponsored by InTeRnEt SeRiOuS BuSiNeSs and MiCrOsOfT SeRiOuS BuSiNeSs!
MCSE -> Minesweeper Consultant and Solitaire Expert
VISTA -> Virus Infection and Spyware Transmission Architecture

huntedbyafreak

É muito mau?

Foi a maneira mais simples que arranjei de ter net no linux, alem de poder "visitar" o windows com facilidade, para imprimir documentos entre outros...

masterhard

QuoteÉ muito mau?

Foi a maneira mais simples que arranjei de ter net no linux, alem de poder "visitar" o windows com facilidade, para imprimir documentos entre outros...

se nao for pessima, e so apenas...MAU, eu nao faco a minima ideia como se comporta com emulacoes, e nao sei como funcionam as portas virtuais usb.
e que nao faco a minima ideia
sempre instalei linux em maquinas reais, so meti o alinex numa virtual e era so pra olhar e apagar....
Se o mundo te virar costas, nao vires costas ao mundo, vai-lhe ao cu!
Se a Muralha da China pegasse fogo, seria a maior firewall do Mundo!
blacksheep-----fake hosting services since 1$ only for fake businessman----sponsored by ASAE
Oferecemos Cursos de Coveiro WebTuga --> O primeiro em Portugal com MBA da Independente incorporado
"Well, I guess it would be nice if I could touch your body" --George Michael\'s \'Faith\'
Sing these words in a recording studio, and you win Album of the Year. Say them in a public bathroom, and you get busted.
The basic difference is this: hackers build things, crackers break them.
O novo Windows será o Se7en. Será uma sequela do famoso filme de terror Se7en?
MADNESS?? THIS Is SPARTTTAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!
Sponsored by InTeRnEt SeRiOuS BuSiNeSs and MiCrOsOfT SeRiOuS BuSiNeSs!
MCSE -> Minesweeper Consultant and Solitaire Expert
VISTA -> Virus Infection and Spyware Transmission Architecture