necesito acceder
Publicado por fer (2 intervenciones) el 27/09/2005 19:02:49
hola a todos, soy un cero en unix( como se vera a continuacoin), pero resulta que en la empresa que estoy hay un servidor que mantenia una antigua aplicacion a la que se accedia cuando iniaba el servidor como root . resulta que yo muy atrevido voy y al entrar en el menu inicial ,pulso ctr+alt+sup y mirando , y leyendo tres cosas por la red no se me ocurre otra cosa que tocr un fichero que se llama .profile, que decia algo asi
# @(#) root.profile 68.1 98/01/20
#
# Copyright (C) 1989-1998 The Santa Cruz Operation, Inc.
# All Rights Reserved.
# The information in this file is provided for the exclusive use of
# the licensees of The Santa Cruz Operation, Inc. Such users have the
# right to use, modify, and incorporate this code into other products
# for purposes authorized by the license agreement provided they include
# this notice and the associated copyright notice with any such product.
# The information in this file is provided "AS IS" without warranty.
#
SHELL=/bin/sh
HOME=/
PATH=/bin:/etc:/usr/bin:/tcb/bin:/usr/vision/visionfs/bin
# set terminal type
eval `tset -m scoansi:${TERM:-scoansi} -m :\?${TERM:-scoansi} -e -r -s -Q`
export TERM PATH SHELL HOME
[ -x /bin/mesg ] && mesg n # if mesg is installed...
./GestionAlmacenes
clear
exit
como soy un completo ignorante, se me ocurrio que si le ponia un cuadradillo delante de ./GestionTienda, la aplicacion no arrancaria, asi que asi lo hice , pero cual es mi sorpresa cuando ahora no logro iniciar una sesion, tan como entra sale jejejeje
bueno alguien sabe como volver a la situacion anterior o entrar sin tener en cuenta el maldito fichero .profile??????
# @(#) root.profile 68.1 98/01/20
#
# Copyright (C) 1989-1998 The Santa Cruz Operation, Inc.
# All Rights Reserved.
# The information in this file is provided for the exclusive use of
# the licensees of The Santa Cruz Operation, Inc. Such users have the
# right to use, modify, and incorporate this code into other products
# for purposes authorized by the license agreement provided they include
# this notice and the associated copyright notice with any such product.
# The information in this file is provided "AS IS" without warranty.
#
SHELL=/bin/sh
HOME=/
PATH=/bin:/etc:/usr/bin:/tcb/bin:/usr/vision/visionfs/bin
# set terminal type
eval `tset -m scoansi:${TERM:-scoansi} -m :\?${TERM:-scoansi} -e -r -s -Q`
export TERM PATH SHELL HOME
[ -x /bin/mesg ] && mesg n # if mesg is installed...
./GestionAlmacenes
clear
exit
como soy un completo ignorante, se me ocurrio que si le ponia un cuadradillo delante de ./GestionTienda, la aplicacion no arrancaria, asi que asi lo hice , pero cual es mi sorpresa cuando ahora no logro iniciar una sesion, tan como entra sale jejejeje
bueno alguien sabe como volver a la situacion anterior o entrar sin tener en cuenta el maldito fichero .profile??????
Valora esta pregunta


0