Re: editing /etc/sudoers



On Sat, 29 Nov 2008, Erik Christiansen wrote:

...............snip.............

If I read the docs right the entry to allow the new user to install
software would be "username ALL=(username) /usr/bin, /usr/sbin". Could
someone please confirm this or correct me? Assuming it's correct, is
that the only entry required? The docs I saw weren't that clear (or was
it me who was dense?).

If root privileges aren't needed for the commands in /usr/bin, /usr/sbin
to perform installation, that should be OK. Otherwise, to grant your
limited root privileges to username, I'd try:

username ALL=(ALL) /usr/bin, /usr/sbin

I think you're right. That dawned on me 30 seconds after I posted.

--
Bob Holtzman
Your mail is being read by tight lipped
Homeland Security agents who fail to see
the humor in Doctor Strangelove

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Adding users
    ... Not only does AUTHORIZE not show it, new processes did not get the right ... When I grant the id I get the GRANTMSG returned, but SHOW USERNAME does ... A second grant gives me a GRANTERR ...
    (comp.os.vms)
  • Re: Group policy software install & directory access rights
    ... Grant "Authenticated Users" read/execute access. ... > the install files if it does not have a username and password? ... > So I log into the local workstation as the local admin which is not a ... > So I'm thinking that the reason my GPO install is failing is because the ...
    (microsoft.public.windows.server.active_directory)
  • Re: Logon failed for user ". but only for membership tables in same database that other request wor
    ... OK to login SQL Server on Computer B. ... I would like you to do a test that on ComputerB, log on using the Username ... You may use the GRANT statement to grant the EXECUTE permission for a user: ... GRANT System Object Permissions (Transact-SQL) ...
    (microsoft.public.sqlserver.security)
  • RE: ERROR 1045: Access denied for user:
    ... When you select user from users what does the username say? ... mysql> GRANT ALL PRIVILEGES ON *.* TO 'mikesd'@'localhost' ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)