strange pw behaviour
Jonas Sonntag
jonas.sonntag at jbhosting.de
Fri Jul 2 06:42:42 PDT 2004
On Friday 02 July 2004 15:09, Bill Moran wrote:
> The only other thought I have is that you might have some invalid user
> names? (I'm really reaching here ...)
>
> Can you attach the group file so we can verify the syntax.
I really don't think so... all entries come from pw and pw get's called the
same way every time (from a script)
here is a part of the /etc/group file:
u186:*:2119:www
u188:*:2121:www
u189:*:2122:www
u197:*:2130:www
u192:*:2125:www
'ls -l' as user www shows:
drwxr-x--- 4 u186 u186 512 Apr 23 21:56 u186
drwxr-x--- 9 u188 u188 1024 Jul 2 12:32 u188
drwxr-x--- 5 u189 u189 512 Jun 25 14:28 u189
drwxr-x--- 3 u192 u192 512 Jun 6 20:21 u192
drwxr-x--- 11 u197 u197 1024 Jul 2 14:15 u197
'ls -l *' as user www shows something like:
u186:
total 4
drwxr-xr-x 6 u186 u186 512 Jun 5 16:33 some_dir
drwxr-xr-x 4 u186 u186 512 May 11 21:36 another_dir
u188:
total 16
drwxr-xr-x 12 u188 u188 512 Jul 1 17:17 dir1
drwxr-xr-x 17 u188 u188 1024 Jul 1 17:17 dir2
-rw-r--r-- 1 u188 u188 280 Jun 30 21:59 file.txt
u189:
ls: u189: Permission denied
u192:
ls: u192: Permission denied
u197:
ls: u197: Permission denied
> Beyond that, I'm at a loss.
Me too... I have been using pw to manage user accounts within different jails
for quite some time now but never had issues like these..
Thanks anyway.
More information about the freebsd-questions
mailing list