Soon afterwards, for usual commands as
Attempting reboot:
This has thrown me into single user mode. I've picked the default /bin/sh shell and got:
However choosing /bin/tcsh worked, so now I'm in single user mode. Just before the reboot cron mailed me:
However, /bin/ls: Permission denied, but setting path to /rescue, worked! Where should I start fixing? Help ASAP.
Thanks in advance!
ls
, mkdir
, I would get the error 'Permission denied' as root. Before reboot, I've restored from /var/backups, master.passwd, groups and aliases into /etc and rebuilt databases.Attempting reboot:
Code:
init: can't exec /bin/sh for /etc/rc: Permission denied
This has thrown me into single user mode. I've picked the default /bin/sh shell and got:
Code:
init: can't exec /bin/sh for single user: Permission denied
However choosing /bin/tcsh worked, so now I'm in single user mode. Just before the reboot cron mailed me:
Code:
/usr/libexec/atrun
cron: execl: couldn't exec `/bin/sh': Permission denied
/usr/libexec/save-entropy
cron: execl: couldn't exec `/bin/sh': Permission denied
However, /bin/ls: Permission denied, but setting path to /rescue, worked! Where should I start fixing? Help ASAP.
Thanks in advance!
