elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Sigue las noticias más importantes de seguridad informática en el Twitter! de elhacker.NET


  Mostrar Mensajes
Páginas: 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ... 65
11  Sistemas Operativos / GNU/Linux / inicio de sesion automatico pide contraseña en: 3 Junio 2015, 20:42 pm
hola, estoy usando elementary OS Freya, que seria ubuntu 14.04, anteriormente tenia instalado 14.10, pero queria probrar eOS Freya para ver que onda y formatie, en ubuntu tenia configurado para que se logee automaticamente con mi cuenta de usuario, y al principio me solicitaba que que introduzca la contraseña al prender la PC, despues no se bien que toque y dejo de pedirme que introduzca la contraseña cada vez que reiniciaba la PC. Ahora estoy teniendo el mismo problema con eOS Freya, cpuse para que ionicie sesion automaticamente, y asi y todo cada vez que inicia sesion al prender o reiniciar la PC, me solicita que ponga la contraseña, aparece la ventana de autentificacion " algunos paquete no se han desbloqueado al iniciar sesion, ......", la verdad es bastante molesto, si pongo para que inicie sesion de una es para no tener que poner la contraserña.

ya no se como hacer para que no me pida la contraseña al iniciar, reiniciar la PC
12  Sistemas Operativos / GNU/Linux / Re: en: 12 Mayo 2015, 01:17 am
Ok, gracias...
13  Sistemas Operativos / GNU/Linux / Re: mountar carpeta al iniciar sistema eOSFreya en: 11 Mayo 2015, 18:34 pm
voy a probar con lo del rc.local, creo que antes tambien lo tenia asi.

donde me conviene montar en /mnt/... o /media/... o es indiferente?
14  Sistemas Operativos / GNU/Linux / mountar carpeta al iniciar sistema eOSFreya en: 10 Mayo 2015, 09:04 am
hola, ercien formatie mi PC, saque ubuntu 14.10 e instale ElementaryOS Freya, mas que nada poruna cuestion estetica y algunas cositas que no funcionaban como yo queria en ubuntu.

antes de formatear ubuntu backpie mi fstab para recordar como montar las carpetas que tenia. la cosa es que no bien termino de formatear, creo una carpeta en /mnt/, cambio el own a mi user, y edito el /etc/fstab:
Código:

//192.168.1.253/warehouse /mnt/OpenWrt cifs noauto,username=usuario,password=00000,uid=1000,gid=0 0 0

como tenia en ubuntu perfecto.
antes de reiniciar abro terminal y escribo: "sudo mount.cifs 192.168.1.256/Warehose /media/OpenWrt" solo para ver si necesitaba instalar cifs, me tiro que hacia falta instalar cifs-utils, creo, lo instale y reinicie, pero cuando reinicio, no habia montado nada, ni ningun msj de error ni nada.

recien me di cuenta que si despues de iniciar sesion abro terminal y estribo: "sudo mount /media/OpenWrt", monta la carpeta, osea que me da a pensar que tal vez no la llegue a montar por una cuestion de tiempo o algo que no termino de cargar al momento de montar la carpeta, pero no se que hacer, en esto soy nuevo, voy haciendo como encuentro en google, aca ya estoy atorado.
15  Sistemas Operativos / GNU/Linux / Re: no puedo iniciar sesion en ubuntu14.10(GUI) en: 13 Abril 2015, 14:52 pm
en parte solucione el problema, iba a preguntar en askubuntu, para ver que onda y en los temas relacionados, vi en un post que alguien sugueria eleminar la carpeta del usuario "/home/fajung", hice backup, la borre y pude acceder, pero todavia falta ver lo del cuadro de texto de contraseña que sigue diciendo  ACCEDER enves de estar en blanco  para introducir el Password.

ahora voy a ver lo del .Xauthority...
16  Sistemas Operativos / GNU/Linux / Re: no puedo iniciar sesion en ubuntu14.10(GUI) en: 13 Abril 2015, 03:22 am
recien me avivo que podia sacar una photo, osea, en el cuadro de texto me tendria que dejar poner la contraseña, pero dice acceder, como si ese usuario no tuviese contraseña, y cada vez que le doy a Acceder intenta logearse pero vuelve a esta pantalla



desde consola me logeo bien con ese usuario, es mas cree otro usuario administrador, pero ahora tengo problemas con las carpetas montadas y los permisos que no me permite cambiar al nuevo usuario
17  Sistemas Operativos / GNU/Linux / no puedo iniciar sesion en ubuntu14.10(GUI) en: 12 Abril 2015, 06:34 am
hoy a la mañana apague mi PC y la volvi a prender a la tarde, como yo solo uso mi PC, tenia seteado que se logee automaticamente. una vez que inicio sesion, la interface grafica estaba mal, no aparecia la barra superior de unity, ni el Dock lateral, ni los marcos de las ventanas, ni las barras de titulo, ni nada, un par de vecez ya me habia pasado eso, pero no me acordaba como arreglarlo asi que googlie, busque como resetear unity, compiz

Código:
unity-reset
dconf reset -f /org/compiz/
setsid unity
dconf dump /org/compiz/
unity --reset-icon

pero nada funciono, asi que intente desinstalar unity e instalar MATE, pero lo mismo, asi que volvi a instalar unity, y para el colmo, me aparecio la pantalla de log in al iniciar ubuntu y cuando ponia mi password tiraba que era "fallo al iniciar sesion...."
asi que entre en [Ctrl] + [Alt] +[F2] y cree un nuevo usuario "xkiz", inicie sesion y unity funcionaba bien, asi que fui a conf de sstema -> cuentas de usuario y setie que mi usuario administrador "ariel" inicie sesion sin passwrd, cerre sesion, e intente iniciar con ariel, pero no pude. asi que desde consola le asigne un nuevo password a ariel y tampoco pude...

en resumen, desde [Ctrl] + [Alt] +[F2] puedo logearme con mi usuario administrador "ariel" con mi password pero desde la pantalla de inicio de sesion de ubuntu, no, solo puedo acceder con el usuario xkiz(standar)

no se como arreglarlo ya.
18  Sistemas Operativos / GNU/Linux / se desconfigura el teclado en: 13 Enero 2015, 15:20 pm
de vez en cuando, cuando cambio de ventana o aprieto no se bien si [ Shift ] o [ Alt ] o no sé, se me cambia la configuracion del teclado y al apretar [Shift ] + [ 2 ] envez de hacer el " hace @, pierto todos los acentos, y la verdad me esta volviendo loko.

para volverlo a su configuracion normal tengo que ir al iconito del area de notificaciones y clickear el idioma "Español (teclas windows" que es el unico que tengo en esa lista.

antes, cuando usaba Windows en la conf del teclado tenia "Español internacional" o algo así.

como tengo que hacer para que no se me cambie solo el metodo de entrada del teclado?

Ubuntu 14.10 x64
19  Sistemas Operativos / GNU/Linux / error en sources.list despues de actualizar a ubuntu 14.10 en: 16 Noviembre 2014, 04:49 am
despues de actualizar mi ubuntu 14.04 a 14.10, origenes se desabilita todo,

ahora me tira errpor al buscar actualizaciones:

Citar

no se como arreglarlo, no encuentro los links apropiados para arreglarlos en el sources.list:

Código:
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu utopic main restricted
deb-src http://archive.ubuntu.com/ubuntu utopic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu utopic-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu utopic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu utopic universe
deb-src http://archive.ubuntu.com/ubuntu utopic universe
deb http://archive.ubuntu.com/ubuntu utopic-updates universe
deb-src http://archive.ubuntu.com/ubuntu utopic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu utopic multiverse
deb-src http://archive.ubuntu.com/ubuntu utopic multiverse
deb http://archive.ubuntu.com/ubuntu utopic-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu utopic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.

deb http://archive.ubuntu.com/ubuntu utopic-security main restricted
deb-src http://archive.ubuntu.com/ubuntu utopic-security main restricted
deb http://archive.ubuntu.com/ubuntu utopic-security universe
deb-src http://archive.ubuntu.com/ubuntu utopic-security universe
deb http://archive.ubuntu.com/ubuntu utopic-security multiverse
deb-src http://archive.ubuntu.com/ubuntu utopic-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main
deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu utopic main # (desactivado al actualizar a utopic)
deb-src http://ppa.launchpad.net/jd-team/jdownloader/ubuntu utopic main # (desactivado al actualizar a utopic)
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu utopic main # (desactivado al actualizar a utopic)
deb-src http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu utopic main # (desactivado al actualizar a utopic)
deb http://ppa.launchpad.net/ajf/trg/ubuntu utopic main # (desactivado al actualizar a utopic)
deb-src http://ppa.launchpad.net/ajf/trg/ubuntu utopic main # (desactivado al actualizar a utopic)
deb http://www.bunkus.org/ubuntu/trusty/ ./ # (desactivado al actualizar a utopic)
deb http://download.virtualbox.org/virtualbox/debian trusty contrib
# deb-src http://download.virtualbox.org/virtualbox/debian trusty contrib
deb http://www.bunkus.org/ubuntu/utopic/ ./
# deb-src http://www.bunkus.org/ubuntu/utopic/ ./

habia hecho un backup del previo al update pero lo borre sin darme cuenta, pude solucionar algunos pero otros no...
20  Programación / Programación C/C++ / Re: ubuntu problem detected [Apache2 CGI C++] en: 19 Octubre 2014, 00:23 am
nunca le agarre la mano a C++, es mas C++ se aleja cada vez que quiero...

despues de prueba y errores, lgre hacer que no crashee mas al ejecutarlo directamente, sin provenir desde el html que enviaba el POST, ahora no se si esta bien o mal, o si me va a joder por otro lado:

Código
  1. #include <iostream>
  2. #include <vector>
  3. #include <string>
  4.  
  5. #include "cgicc/CgiDefs.h"
  6. #include "cgicc/Cgicc.h"
  7. #include "cgicc/HTTPHTMLHeader.h"
  8. #include "cgicc/HTMLClasses.h"
  9.  
  10. #include <stdio.h>
  11. #include <stdlib.h>
  12.  
  13. using namespace std;
  14. using namespace cgicc;     // Or reference as cgicc::Cgicc formData; below in object instantiation.
  15.  
  16. int main(int argc, char *argv[])
  17. {
  18. try {
  19. Cgicc formData;
  20.  
  21. // Send HTTP header: Content-type: text/html
  22. cout << HTTPHTMLHeader() << endl;
  23. // Print: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
  24. cout << HTMLDoctype(HTMLDoctype::eStrict) << endl;
  25. // Print: <html lang="en" dir="LTR">
  26. cout << html().set("lang", "EN").set("dir", "LTR") << endl;
  27.  
  28. // Set up the HTML document
  29. cout << html() << head() << title("Cgicc example") << head() << endl;
  30. cout << body().set("bgcolor","#cccccc").set("text","#000000").set("link","#0000ff").set("vlink","#000080") << endl;
  31.  
  32. cout << h1("This is a demonstration of the GNU CgiCC library") << endl;
  33. char *str = getenv("QUERY_STRING");
  34.  
  35. if(str != NULL){
  36. free(str);
  37. form_iterator fvalue1 = formData.getElement("value1");
  38. if( !fvalue1->isEmpty() && fvalue1 != (*formData).end()) {
  39. cout << "Value1: " << **fvalue1 << endl;
  40. }else{
  41. cout << "No text entered for value1" << endl;
  42. }
  43.  
  44. cout << p();
  45.  
  46. form_iterator fvalue2 = formData.getElement("value2");
  47.  
  48. if( !fvalue2->isEmpty() && fvalue2 != (*formData).end()) {
  49. // Note this is just a different way to access the string class.
  50. // See the YoLinux GNU string class tutorial.
  51. cout << "Value2: " << (**fvalue2).c_str() << endl;
  52. }
  53.  
  54. cout << p();
  55.  
  56. form_iterator fvalue3 = formData.getElement("value3");
  57. if( !fvalue3->isEmpty() && fvalue3 != (*formData).end()) {
  58. cout << "Value3: " << **fvalue3 << endl;
  59.   }
  60.  
  61.   cout << p();
  62.  
  63.   form_iterator fvalue4 = formData.getElement("value4");
  64.   if( !fvalue4->isEmpty() && fvalue4 != (*formData).end()) {
  65.   cout << "Value4: " << **fvalue4 << endl;
  66.   }
  67.  
  68. }// mio
  69.  
  70.       // Close the HTML document
  71. cout << body() << endl;
  72. cout <<  html() << endl;
  73.    }
  74.    catch(exception& e) {
  75.       // handle any errors here.
  76. cout << "ERROR!!" << endl;
  77. return 0;
  78.  
  79.    }
  80.  
  81.    return 0;   // To avoid Apache errors.
  82. }
  83.  


hasta ahora solo es el mismo cpp del ejemplo.

con lo que hice que no tire mas errores fue con lo de getenv("QUERY_STRING") y el f(str != NULL), pero no se si es la forma correcta...
Páginas: 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ... 65
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines