Skip Menu |
 

This queue is for tickets about the Linux-usermod CPAN distribution.

Report information
The Basics
Id: 7514
Status: new
Priority: 0/
Queue: Linux-usermod

People
Owner: Nobody in particular
Requestors: omacneil [...] brave.cs.uml.edu
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.69
Fixed in: (no value)



Subject: not require superuser for reading /etc/passwd
Download (untitled) / with headers
text/plain 221b
It would be good if the methods that access non-root restricted info don't require root. For example. $grp->('users') gets info in /etc/group which is world readable. I realize this would make new() more complicated.
From: Vidul Petrov
Download (untitled) / with headers
text/plain 689b
Thanks for the note, still file permissions have nothing to do with this module - everyone can use Linux::usermod methods no matter what uid he has, as long as the filesystem permissions do not restrict him. It is another question if you say that methods that require root process ownership, like those open-ing /etc/shadow, must be explicitely depicted. Thank you for the note! I will have it in mind. [guest - Sat Aug 28 09:14:46 2004]: Show quoted text
> It would be good if the methods that access non-root restricted info > don't require root. > > For example. $grp->('users') gets info in /etc/group which is world > readable. > > I realize this would make new() more complicated.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.