Skip Menu |

This queue is for tickets about the Passwd-Unix CPAN distribution.

Report information
The Basics
Id: 68459
Status: resolved
Priority: 0/
Queue: Passwd-Unix

People
Owner: Nobody in particular
Requestors: christian.kuelker [...] cipworx.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.62
Fixed in: (no value)



Subject: read of uid via 'uid' method failed
Dear Strzelecki Ɓukasz, in your description of the 'uid' method we can read: uid( USERNAME [,UID] ) Read or modify a user's UID. Returns the result of operation (TRUE or FALSE) if UID was specified otherwhise returns the UID. However the method 'uid' do not deliver any number or string, see output ./uid-bug Use of uninitialized value $id in concatenation (.) or string at ./uid-bug line 10. id [] grep testuser /etc/passwd testuser:x:8000:8000:test user,,,:/home/testuser:/bin/zsh Kind Regards and consider using Test::Simple or Test::More Christian Kuelker
Subject: uid-bug
Download uid-bug
application/octet-stream 232b

Message body not shown because it is not plain text.

Hello, this was caused by inpropper use of method "uid". You must supply at least one argument. In example: $pu->user( 'testuser', 'secret', 8000, 8000, 'test user,,,', '/home/ testuser', '/bin/zsh' ); my $uid = $pu->uid( 'testuser' );