*BSD News Article 45787


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nexus.coast.net!news.kei.com!newshost.marcam.com!zip.eecs.umich.edu!umcc.umich.edu!not-for-mail
From: jds@montego.umcc.umich.edu (John D. Smerdon)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: /bin/sh: Permission denied
Date: 22 Jun 1995 16:54:13 -0400
Organization: UMCC, Ann Arbor, MI, USA
Lines: 15
Message-ID: <3scl9m$bd5@montego.umcc.umich.edu>
NNTP-Posting-Host: montego.umcc.umich.edu

I started upgrading some disk on a NetBSD 1.0 system and left the old
disk in as sd2 mounted under /old.  The power supply then died so I took out
the sd2 disk and inserted it into a new PC as sd0.

When I try to login using anything but root, I am greeted with the 
message "/bin/sh: Permission denied".  sendmail also displays a message
that it is unable to exec mail.local.

I restored the entire /etc directory from a tar file created a couple weeks
ago in case something was wrong, but that didn't help.  I didn't change 
anything that I can recall when it was mounted as /old, but I must have
messed something up.  Any ideas?
-- 
John D. Smerdon;  Livonia, Michigan, USA;  Contents are my opinion.
Home: jds@smerdon.livonia.mi.us