I screwed up big time and again I come on my knees begging for help.
I have a remote machine. I added rbash via ports in an attempt to restrict a user to his home directory.
Now when I try to login as superuser:
# SU
I get:
rbash is in /usr/local/bin
There is a symbolic link in /usr/local/bin: rbash -> bash
I actually don't know what is really wrong. Is there any hope? I am a 68 year old FreeBSD hobbyist with a small commercial website I made myself. I have worked on building this server for six weeks now and this has just about got me in tears. I know it's all my fault but you try to learn and you make mistakes. Any assistance so I can access superuser would be appreciated more than you will ever know.
This is my path:
I have a remote machine. I added rbash via ports in an attempt to restrict a user to his home directory.
Now when I try to login as superuser:
# SU
I get:
Code:
su: /bin/rbash: No such file or directory
rbash is in /usr/local/bin
There is a symbolic link in /usr/local/bin: rbash -> bash
I actually don't know what is really wrong. Is there any hope? I am a 68 year old FreeBSD hobbyist with a small commercial website I made myself. I have worked on building this server for six weeks now and this has just about got me in tears. I know it's all my fault but you try to learn and you make mistakes. Any assistance so I can access superuser would be appreciated more than you will ever know.
This is my path:
Code:
set path = (/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games $HOME/bin)
Code:
uname -a
FreeBSD drabel.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386