The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Crontab cannot run by non-root user kwliew999 AIX 4 05-02-2009 01:25 PM
new crontab for new user bisla.yogender UNIX for Dummies Questions & Answers 3 05-15-2008 07:59 AM
Using Crontab To Change User Password OdinPT UNIX for Dummies Questions & Answers 2 08-28-2007 10:09 AM
Viewing user accound information zp523444 Linux 1 01-28-2006 06:23 AM
pdf viewing antalexi UNIX for Dummies Questions & Answers 3 05-10-2004 11:43 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-17-2005
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,944
viewing crontab as different user

hi all,

how to view crontab entries of user2 logging as user1
  #2 (permalink)  
Old 06-17-2005
rahul123_libra rahul123_libra is offline
Registered User
  
 

Join Date: May 2005
Posts: 46
Try this

Try this :-


crontab -u user2 -l
  #3 (permalink)  
Old 06-17-2005
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,944
i believe there is no option like -u in crontab

one way being a root and to view others crontab entries

user1: crontab -l <user2>

but question is without being a root
  #4 (permalink)  
Old 06-17-2005
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,796
Quote:
Originally Posted by matrixmadhan
i believe there is no option like -u in crontab

The Berkeley Distribution of crontab has the -u option.

Vino
  #5 (permalink)  
Old 06-18-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
As root you can run crontab -l.

You can also browse through the "raw" crontabs in /var/spool/cron/crontabs.

Security is in place for a reason....

Cheers
ZB
  #6 (permalink)  
Old 06-19-2005
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
ZB's right, we have a production environment and only root can do anything with anyone's crontabs. No user can even view their own crontabs!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:22 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0