Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 2004 15:40:39 +0200
From:      Jonas Sonntag <jonas.sonntag@jbhosting.de>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: strange pw behaviour
Message-ID:  <200407021540.39869.jonas.sonntag@jbhosting.de>
In-Reply-To: <20040702090950.2ff78999.wmoran@potentialtech.com>
References:  <200406251500.20839.jonas.sonntag@jbhosting.de> <200407021450.05509.jonas.sonntag@jbhosting.de> <20040702090950.2ff78999.wmoran@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407021540.39869.jonas.sonntag>