creating a user with only read permissions on all files



Is there a way so that I can create a "quasi-root" user which has read
permissions on all systemwide files but write permissions just for its own.

Frequently I find myself running cron jobs ( say, to find disk usages for
each user etc., or inventoring all html files, or tracking coredumps etc.)
on user directories and I was previously running them as root since they
need access to all files to be able to inventory them. But in fact no write
access is actually needed to do the job.

Hence I was wondering if I could adopt a "just enough previlages to do the
job principle"?

Any sugesstions?

--
Rahul
.



Relevant Pages

  • Re: creating a user with only read permissions on all files
    ... permissions on all systemwide files but write permissions just for its ... Frequently I find myself running cron jobs (say, ... for each user etc., or inventoring all html files, or tracking ... It would be hard to see how umask would contribute to /giving/ read access ...
    (comp.os.linux.misc)
  • Re: creating a user with only read permissions on all files
    ... permissions on all systemwide files but write permissions just for its own. ... Frequently I find myself running cron jobs (say, to find disk usages for each user etc., or inventoring all html files, or tracking coredumps etc.) on user directories and I was previously running them as root since they need access to all files to be able to inventory them. ... Privileges are assigned on a per file basis, ...
    (comp.os.linux.misc)
  • Re: creating a user with only read permissions on all files
    ... permissions on all systemwide files but write permissions just for its ... Frequently I find myself running cron jobs (say, ... for each user etc., or inventoring all html files, or tracking ... coredumps etc.) on user directories and I was previously running them ...
    (comp.os.linux.misc)
  • Re: creating a user with only read permissions on all files
    ... permissions on all systemwide files but write permissions just for its ... Frequently I find myself running cron jobs (say, ... for each user etc., or inventoring all html files, or tracking ... It would be hard to see how umask would contribute to /giving/ read access ...
    (comp.os.linux.misc)
  • Re: creating a user with only read permissions on all files
    ... permissions on all systemwide files but write permissions just for its ... Frequently I find myself running cron jobs (say, ... Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers ...
    (comp.os.linux.misc)