Re: [SLE] cron for normal users

From: Kenneth Schneider (suselist_at_rtsx.com)
Date: 04/01/04

  • Next message: Kenneth Schneider: "Re: [SLE] usr local bin "Acquired" by Novell"
    To: suse-linux-e@suse.com
    Date: Thu, 01 Apr 2004 07:16:17 -0500
    
    

    On Thu, 2004-04-01 at 05:17, Hollweg, Daniel wrote:
    > Hi list!
    >
    > SuSe 9.0 pro with file settings secure. I want an normal user to be able to
    > use crontab
    > in order put cronjobs in place. If the users tries to install a crontab
    > using crontab -e he
    > gets an /usr/bin/crontab permission denied. If I have a look on the file
    > permissions this
    > behavior is correct:
    >
    > -rwsr-x--- 1 root trusted 22812 Sep 23 2003 /usr/bin/crontab
    >
    > First I thought about putting the user in the group trusted but the it has
    > the rights
    > to execute gpasswd.
    >
    > Next step I set the x-bit for other on /usr/bin/crontab. No the user can use
    > the crontab.
    > But when I make a reboot of the system the permission is chnaged to
    > -rwsr-x--- automatically.
    >
    > I think this is a result of the file permission safe setting in yast. But
    > when root changes a permission
    > I do not want the OS to undo my changes.
    >
    > Any ideas?
    > Regards
    > Daniel
    >

    The files /var/spool/cron/allow and /var/spool/cron/deny can control who
    has the ability to create crontab files. Do a man crontab for further
    help.

    -- 
    Ken Schneider
    unix user since 1989
    linux user since 1994
    SuSE user since 1998 (6.2)
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Kenneth Schneider: "Re: [SLE] usr local bin "Acquired" by Novell"

    Relevant Pages

    • [SLE] cron for normal users
      ... SuSe 9.0 pro with file settings secure. ... If the users tries to install a crontab ... But when I make a reboot of the system the permission is chnaged to ... when root changes a permission ...
      (SuSE)
    • Re: [SLE] cron question
      ... >> I've been to LDP, the SuSE admin manual, and a few other help pages. ... the crontab ... > Check the headers for your unsubscription address ...
      (SuSE)
    • [opensuse] logrotate and crontab
      ... I've been having a look on how crontab is setup on default Suse 9.2/10.0/10.1 servers, ... it's important for me because i want to schedule sarg at 2 pm and i want to be sure that i always run logrotate (to rotate squid logs) exactly might. ...
      (SuSE)
    • Re: [opensuse] logrotate and crontab
      ... Torsdag 29 marts 2007 16:35 skrev Kenneth Schneider: ... I've been having a look on how crontab is setup on default Suse ... Ken Schneider ...
      (SuSE)
    • Re: permissions on new files in public_html
      ... but crontab seems like more of a work-around ... But html and other static files should only need r permission to ... A common problem accessing public_html is if ... could cause problems for CGI under suexec (if not following suexec ...
      (comp.os.linux.misc)