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
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
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.