Find the answer to your Linux question:
Results 1 to 3 of 3
How do I set my system up so that only the root and my usera can use the at command?...
  1. #1
    Just Joined!
    Join Date
    Nov 2007
    Posts
    1

    at command

    How do I set my system up so that only the root and my usera can use the at command?

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    you mean command line?
    Change to .bashrc file to check the userid to be 1.
    Make it only editable to chance it if you are root.

    Hope that helps.
    New Users, please read this..
    Google first, then ask..

  3. #3
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    From the at(1) manpages:
    ... permission to use at is determined by the files /var/at/at.allow and
    /var/at/at.deny.

    If the file /var/at/at.allow exists, only usernames mentioned in it are
    allowed to use at. In these two files, a user is considered to be listed
    only if the user name has no blank or other characters before it on its
    line and a newline character immediately after the name, even at the end
    of the file. Other lines are ignored and may be used for comments.

    If /var/at/at.allow does not exist, /var/at/at.deny is checked, every
    username not mentioned in it is then allowed to use at.

    If neither exists, only the superuser is allowed use of at. This is the
    default configuration.
    This from my FBSD 6.2 box. Check your manpages for particulars (especially default config behavior and file locations).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...