LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 06-02-2006, 02:22 PM   #1
dthacker
Member
 
Registered: Nov 2003
Location: Omaha, NE
Distribution: Ubuntu, Kubuntu, Ubuntu Server
Posts: 77

Rep: Reputation: 15
How can I let non-root users build crontabs?


Version SuSE 9.3 Professional

I need to allow a non-root user to build a crontab. I've created a /var/spool/cron/allow file and added this users id to the file. I then restarted the cron daemon. When this user runs "crontab -e" they get the error:
seteuid: Operation not permitted

What else do I need to change?

TIA, Dave
 
Old 06-02-2006, 02:40 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
My Linux knowledge is very limiting, but you could give them 'sudo' access

# visudo

add the specific user in the visudo configuration file
add the specific command, crontab (with full path - maybe /usr/sbin/crontab???), in the visudo configuration file

all the user has to do is type
Code:
sudo crontab -e
then input their user password, and voila! They should be able to run it.

OR, I might be completely wrong.
 
Old 06-02-2006, 04:22 PM   #3
dthacker
Member
 
Registered: Nov 2003
Location: Omaha, NE
Distribution: Ubuntu, Kubuntu, Ubuntu Server
Posts: 77

Original Poster
Rep: Reputation: 15
Micro420, Thanks for your response! I have tried to sudo this without any luck, I really just need this user to be able to run /usr/bin/crontab. I'm currently researching this question in several places. If anyone else has a solution, please chime in.

Dave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 09:32 AM
Different video drivers are loaded for root and non-root users triet Linux - Software 1 12-31-2004 03:20 PM
Whats the difference between all the crontabs (system, root, users) ? glenn69 Linux - Newbie 2 10-12-2004 08:41 PM
Crontabs kd5giv Slackware 8 05-08-2004 05:37 AM
users on win98 , I want to build mail server on RH8 slam Linux - Software 2 07-03-2003 11:38 PM


All times are GMT -5. The time now is 03:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration