Author Topic: HELP, I can't login as root!  (Read 2711 times)

zaurussian

  • Newbie
  • *
  • Posts: 2
    • View Profile
HELP, I can't login as root!
« on: November 13, 2004, 07:16:00 pm »
A stupid thing I did: I created .profile to define PATH for the superuser by cut and paste from the image_setup.sh (dev_img-1.5). I accidentally copied the line 'exit 0' to .profile and as a result I can't do an 'su -' anymore. I can't edit the file anymore because the user 'zaurus' is not an owner (root is).

Anyone know of a way to edit or zap the file?

Thanks

Joshp

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • http://
HELP, I can't login as root!
« Reply #1 on: November 13, 2004, 09:59:17 pm »
Try just useing su. With out the dash.  I am purty sure that whan you dont add the dash that it will go to super user but not look at your .profile.  I might be wrong though.

JP
« Last Edit: November 14, 2004, 12:07:28 am by Joshp »

zaurussian

  • Newbie
  • *
  • Posts: 2
    • View Profile
HELP, I can't login as root!
« Reply #2 on: November 13, 2004, 10:12:40 pm »
Thanks, JP. It worked without the dash.

Z