security/p5-Unix-Passwd-File 0.251 FreeBSD
Manipulate passwd and group entries
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- security, perl5
- Package size
- 25.2 KiB, 129.4 KiB installed
Description
Unix::Passwd::File can be used to read and manipulate entries in Unix system password files (/etc/passwd, /etc/group, /etc/group, /etc/gshadow) but can also be told to search in custom location, for testing purposes).
This module uses a procedural (non-OO) interface. Each function in this module open and read the passwd files once. Read-only functions like `list_users()` and `get_max_gid()` open in read-only mode. Functions that might write to the files like `add_user()` or `delete_group()` first lock `passwd.lock` file, open in read+write mode and also read the files in the first pass, then seek to the beginning and write back the files.
No caching is done so you should do your own if you need to.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/p5-Unix-Passwd-File | 0.251 |
| DragonFly | security/p5-Unix-Passwd-File | 0.251 |
Install
Binary package:
pkg install p5-Unix-Passwd-File
From the ports tree:
cd /usr/ports/security/p5-Unix-Passwd-File/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Unix-Passwd-File>0:security/p5-Unix-Passwd-File
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.251 | 0.251 | 0.251 | 0.251 | 0.251 |
| FreeBSD:14:quarterly | 0.251 | 0.251 | n/a | 0.251 | 0.251 |
| FreeBSD:15:latest | 0.251 | 0.251 | n/a | 0.251 | 0.251 |
| FreeBSD:15:quarterly | 0.251 | 0.251 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.251 | 0.251 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
p5-Crypt-Password-Util>=0.06: security/p5-Crypt-Password-Utilp5-File-Flock-Retry>=0.631: devel/p5-File-Flock-Retryp5-List-MoreUtils>=0: lang/p5-List-MoreUtils
Runtime 3
p5-Crypt-Password-Util>=0.06: security/p5-Crypt-Password-Utilp5-File-Flock-Retry>=0.631: devel/p5-File-Flock-Retryp5-List-MoreUtils>=0: lang/p5-List-MoreUtils
Test 5
p5-Class-Load>=0: devel/p5-Class-Loadp5-File-Copy-Recursive>=0: devel/p5-File-Copy-Recursivep5-File-Slurper>=0: devel/p5-File-Slurperp5-File-chdir>=0: devel/p5-File-chdirp5-namespace-autoclean>=0: devel/p5-namespace-autoclean
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 11
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Unix/Passwd/File.pm
- %%PERL5_MAN3%%/Unix::Passwd::File.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Unix-Passwd-File-0.251.tar.gz | 39478 | 840e64e9f58de2d8ba8da47c041efc15e56696de39ea9c43be7f9b2283924261 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.