On Jan 23, 2008 7:02 AM, Vahid Moghaddasi <[EMAIL PROTECTED]> wrote:
> Assigning different UID is my long term goal but in short term, I can
> not change anything. These users are system users not just ordinary
> users, changing their UID will create problems.
I don't know what you're trying to a
On Jan 23, 2008 12:58 AM, Chas. Owens <[EMAIL PROTECTED]> wrote:
>
> Ah, I always get bitten by that. It needs to be
>
> print $out $_;
>
Sorry for the quick post, I figured it ou after the post.
> snip
> > Shouldn't my code keep one of the duplicate users instead of taking
> > them both out?
>
On Jan 22, 2008 11:15 PM, Tom Phoenix <[EMAIL PROTECTED]> wrote:
> What about this data?
>
> fred:x:42:42:Fred Flintstone:/home/fred:/bin/bash
> barney:x:99:99:Barney Rubble:/home/barney:/bin/bash
> fred:x:69:69:Fred Astaire:/home/fred:/bin/bash
> dino:x:69:69:Dino:/home/dino:/bin/bash
>
I see
On Jan 22, 2008 10:56 PM, Vahid Moghaddasi <[EMAIL PROTECTED]> wrote:
> On Jan 22, 2008 9:31 PM, Chas. Owens <[EMAIL PROTECTED]> wrote:
> >
> > Off hand I think that would only happen if the user name or the uid
> > was the same for some of your users. Can you present a cleaned up
> > version of y
On Jan 22, 2008 7:43 PM, Vahid Moghaddasi <[EMAIL PROTECTED]> wrote:
> # egrep "^bin:|^adm:|^daemon:|^root:|^rpm:" /etc/passwd
> root:x:0:0:Linux root:/root:/bin/bash
> bin:x:1:1:Linux bin:/bin:/sbin/nologin
> daemon:x:2:2:Linux daemon:/sbin:/sbin/nologin
> rpm:x:37:37:Linux :/var/lib/rpm:/sbin/no
On Jan 22, 2008 9:31 PM, Chas. Owens <[EMAIL PROTECTED]> wrote:
>
> Off hand I think that would only happen if the user name or the uid
> was the same for some of your users. Can you present a cleaned up
> version of your data the exhibits the problem? Also, You might want
> to rewrite your loop
On Jan 22, 2008 9:24 PM, Tom Phoenix <[EMAIL PROTECTED]> wrote:
> On Jan 22, 2008 5:49 PM, Vahid Moghaddasi <[EMAIL PROTECTED]> wrote:
>
> > I have the following
> > subroutine to sort unique a UNIX password file based on UID and
> > username.
>
> Doesn't your password file already have unique use
Vahid Moghaddasi wrote:
Hi,
Hello,
I have a very strange problem (to me anyways). I have the following
subroutine to sort unique a UNIX password file based on UID and
username. But the problem is that some of the users get disappeared
the output password file. I couldn't figure out the patte
On Jan 22, 2008 8:49 PM, Vahid Moghaddasi <[EMAIL PROTECTED]> wrote:
> Hi,
> I have a very strange problem (to me anyways). I have the following
> subroutine to sort unique a UNIX password file based on UID and
> username. But the problem is that some of the users get disappeared
> the output pass
On Jan 22, 2008 5:49 PM, Vahid Moghaddasi <[EMAIL PROTECTED]> wrote:
> I have the following
> subroutine to sort unique a UNIX password file based on UID and
> username.
Doesn't your password file already have unique usernames and unique UIDs?
> But the problem is that some of the users get dis
10 matches
Mail list logo