On Fri, 10 Jun 2005 01:00:54 +0800
Uwe Dippel <[EMAIL PROTECTED]> wrote:
> On Thu, 09 Jun 2005 14:16:48 +0100, Stephen Marley wrote:
>
> >> Still astonished that there is no command available on OpenBSD to
> >> sync passwd and user directories.
> >
> > I'm more astonished that you're administeri
On Fri, Jun 10, 2005 at 01:00:54AM +0800, Uwe Dippel wrote:
> On Thu, 09 Jun 2005 14:16:48 +0100, Stephen Marley wrote:
>
> >> Still astonished that there is no command available on OpenBSD to sync
> >> passwd and user directories.
> >
> > I'm more astonished that you're administering Unix machin
On Thu, 09 Jun 2005 14:16:48 +0100, Stephen Marley wrote:
>> Still astonished that there is no command available on OpenBSD to sync
>> passwd and user directories.
>
> I'm more astonished that you're administering Unix machines without the
> ability to put together a trivial shell script.
How f
On Jun 9, 2005, at 9:16 AM, Stephen Marley wrote:
On Thu, Jun 09, 2005 at 07:38:50PM +0800, Uwe Dippel wrote:
Still astonished that there is no command available on OpenBSD to
sync
passwd and user directories.
I'm more astonished that you're administering Unix machines without
the
abil
On Thu, Jun 09, 2005 at 07:38:50PM +0800, Uwe Dippel wrote:
> Still astonished that there is no command available on OpenBSD to sync
> passwd and user directories.
I'm more astonished that you're administering Unix machines without the
ability to put together a trivial shell script.
--
[EMAIL PR
On Wed, 08 Jun 2005 14:00:34 +0200, Hannah Schroeter wrote:
> awk to extract the list of directories:
>
> awk -F: '($3 >= 1000 && $1 !~ /^_/) { print $6 }' /etc/passwd
>
> grep the result for the pattern '^/home/' (or whatever your base of
> home is), sed that away 's,^/home/,,', sort it. Compar
On 6/8/05, Uwe Dippel <[EMAIL PROTECTED]> wrote:
> What I'd want, is to check the passwd file and delete all home dirs that
> have no user account any longer.
You can use find(1) -nouser for this.
> Then, I'd also create home dirs for all users in the passwd without home
> dir yet.
Use awk that
On Jun 8, 2005, at 7:31 AM, Uwe Dippel wrote:
What I'd want, is to check the passwd file and delete all home dirs
that
have no user account any longer.
Then, I'd also create home dirs for all users in the passwd without
home
dir yet.
Since this is a migration of > 100 users from Linux, I d
Hello!
On Wed, Jun 08, 2005 at 07:31:29PM +0800, Uwe Dippel wrote:
>[...]
>What I'd want, is to check the passwd file and delete all home dirs that
>have no user account any longer.
>Then, I'd also create home dirs for all users in the passwd without home
>dir yet.
>Since this is a migration of >
9 matches
Mail list logo