viewing crontab as different user


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers viewing crontab as different user
# 1  
Old 06-17-2005
viewing crontab as different user

hi all,

how to view crontab entries of user2 logging as user1
# 2  
Old 06-17-2005
Try this

Try this :-


crontab -u user2 -l
# 3  
Old 06-17-2005
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  
Old 06-17-2005
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  
Old 06-18-2005
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  
Old 06-20-2005
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!
# 7  
Old 06-20-2005
hi zazzybob

i believe my question was not as root login

then do u mean to say there is
no way to view user2's crontab entry loggin as user1
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Bad user root in crontab

Hi everyone, I got error which is "!bad user (root)" in crontab... I tried changing password, I checked etc/cron/cron.allow and cron.deny, And also I checked the permissions of my files, its(my crontab script) still not working.... Please help... (12 Replies)
Discussion started by: ijustneeda
12 Replies

2. HP-UX

BOGGLED!! User information incorrect when viewing "ps" Process Status

Hello Anyone: I have run into an issue that I have never seen or heard of. Recently on a specific server I have encountered a random issue that I've not been able to repliate on demand... When I view the processes status of a certain process, the information returned to the screen has a... (2 Replies)
Discussion started by: DEN1022
2 Replies

3. UNIX for Dummies Questions & Answers

Editing crontab of non-root user from file

Hi All, Ref: "build crontab from a text file" in same forum. (I am not allowed to post URL's in the first post) We are reorganizing our UNIX Crontab file by first making changes in a word pad text file. The intent is to then copy it back to Crontab. Will this work? Copy and Paste does not... (6 Replies)
Discussion started by: nivedhitha
6 Replies

4. Shell Programming and Scripting

Cronjob not working from user's crontab

Hi All, I am trying to execute a python script from a user's crontab. /home/user1/UDE/scripts/UdeManager.py I am at /home/user1. If I run the command "/home/user1UDE/scripts/UdeManager.py" from the users home directory its working fine. But when I try to run from user's cron tab its... (3 Replies)
Discussion started by: Tuxidow
3 Replies

5. Solaris

Assign crontab for user

hi, how can i assign a crontab to my username "user1", here is my current list details; $ who root console Nov 15 14:38 user1 pts/1 Dec 14 21:07 (192.168.1.75) $ pwd /etc/cron.d $ ls -alh total 20 drwxr-xr-x 2 root sys 512 Nov 15 14:37 .... (3 Replies)
Discussion started by: fspalero
3 Replies

6. UNIX for Dummies Questions & Answers

Reload user crontab file

Hi Guys, Our user crontab files are located at /var/spool/cron/crontabs. I have to make some modifications to it. I have all the crontab entries in a file called 'crontab.actual'. I made changes to this file and now I want to reload these changes from the crontab.actual file to my crontab... (12 Replies)
Discussion started by: vandi
12 Replies

7. AIX

Crontab cannot run by non-root user

Good morning everybody. I have just receiedv a complaint from our DBA saying that if he create a scripts to run some Oracle performance scripts using crontab and the scheduling part is ok but the job is failed when I checked on /var/adm/cron/log. I have tried his scripts using Oracle id directly... (4 Replies)
Discussion started by: kwliew999
4 Replies

8. UNIX for Dummies Questions & Answers

new crontab for new user

Hi All, I am user of partcular user of alinux machine. I want have some cronjobs to be done by machine. But i don't have crontab file for me. However i do have crontab installed as /usr/bin/crontab. Could anyone please suggest how to creat a new cron file for a user? Any help will be highly... (3 Replies)
Discussion started by: bisla.yogender
3 Replies

9. UNIX for Dummies Questions & Answers

Using Crontab To Change User Password

Hi! I'm a bit noob on Unix/Linux world, so sorry any lame question i may make... Oh.. and my english too.. is not so famous lol.. The deal is to use crontab to change my admin password every weak to something like "mypasswordcurrrentday" that is... i want evey weak to change my password but... (2 Replies)
Discussion started by: OdinPT
2 Replies

10. Linux

Viewing user accound information

How can dump the user account detail? like how long need to change password, password naming policy, how many times will lock account if login failed.. thk a lot (1 Reply)
Discussion started by: zp523444
1 Replies
Login or Register to Ask a Question