Subject: Re: su: /bin/csh: Permission denied
To: Josef Watzko <Watzko@mail.dec.com>
From: Simon Burge <simonb@telstra.com.au>
List: port-pmax
Date: 02/11/1998 08:20:09
On Tue, 10 Feb 1998 13:46:13 -0000  Josef Watzko wrote:

> Hi,
> 	i can't get running nonroot users. See below:
> 
> # su - postgres
> su: /bin/csh: Permission denied
> 
> # ls -lag /bin/csh
> -r-xr-xr-x  1 bin  bin  435540 Jan 17 03:29 /bin/csh
> 
> # grep postgres /etc/passwd
> postgres:*:600:15:psql admin:/home/pqsql:/bin/csh

It may not solve your problem, but you have the incorrect format for
this entry.  If you used `vipw', it shouldn't have let you create a
entry like the one above.  You need something like:

	postgres:*:600:15::0:0:psql admin:/home/pqsql:/bin/csh
			  ^^^^^

Look at `man 5 passwd' for more info.  I certainly couldn't reproduce
your problem on a clean 1.3 install on a 3100...

Simon.