[prev in list] [next in list] [prev in thread] [next in thread] 

List:       suse-linux-e
Subject:    Re: [SLE] cron for normal users
From:       Kenneth Schneider <suselist () rtsx ! com>
Date:       2004-04-01 12:16:17
Message-ID: 1080821776.13922.1.camel () kens ! rta ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic