Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 1997 01:56:36 +0000 (GMT)
From:      Karl Pielorz <kpielorz@tdx.co.uk>
To:        questions@freebsd.org
Subject:   Annoying Problem with 'su' and user account...
Message-ID:  <Pine.BSF.3.96.971220014842.1189A-100000@caladan.tdx.co.uk>

next in thread | raw e-mail | index | archive | help
Hi all,

Two of my FreeBSD 2.2.2-Release machines seem to have inherited this
problem recently... (well, very similar)...

On the first machine if I log in as root on for example the console - then
try to su to my user account (to send mail etc.) I get...

_su: Permission denied
_su: Trying to start from "/raid/users/kpielorz"

But the command does complete OK, if I then 'exit' - and do the su again -
it completes without any errors...

I've made sure everything I can think of permissions wise is OK, e.g.

/raid
drwxr-xr-x   7 root      wheel      512 Dec 19 14:10 raid
/raid/users
drwxr-xr-x   5 root      wheel      512 Nov 24 16:31 users
/raid/users/kpielorz
drwx------  13 kpielorz  staff     1024 Dec 20 01:50 kpielorz

I own all the files in my homedir, there all at least rw- by me but still
I get the errors...

On another 2.2.2-RELEASE machine I get:

_su: Permission denied
_su: Trying to start from "/"

Whenever the machines runs the 'weekly' script (/etc/weekly) - from the
crontab...

I have no doubt this is something really stupid I've done - can anyone
suggest where to look next? (I've looked up the respective man pages etc
;-)

Regards,

Karl Pielorz







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971220014842.1189A-100000>