"! bad user (root)" in cron log


 
Thread Tools Search this Thread
Operating Systems Solaris "! bad user (root)" in cron log
# 1  
Old 09-22-2010
"! bad user (root)" in cron log

I am getting the following error in the cron log:

Code:
 
! bad user (root) Wed Sep 22 14:30:00 2010
<  root 8989 c Wed Sep 22 14:30:00 2010 rc=1

What does this mean?
# 2  
Old 09-22-2010
I don't known.
Don't worry.
You known what scipt start about 14:30.
check this script, if it is safe try do the scipt as root....

Last edited by john1212; 09-22-2010 at 04:24 PM.. Reason: add "if it is safe"
# 3  
Old 09-22-2010
This is most likely that the account is exither expired, or the password is locked, but these types of things shouldn't be happening for the root account.

Run logins -axl and look for a LK instead of a PS, also check the very last 6 digit field and see if it set to a date in the past. Check the logins manpage for all of the -x options you see below and what exactly they do.

Code:
# logins -axl root
root          0       other           1       Super-User
                        /
                        /sbin/sh
                        PS 000000 -1 -1 -1
                        -1 000000

# 4  
Old 09-23-2010
Anybody think root can do all, no.
This message sed that exist job started as root.
Root can't do it. Job ended with exit "1".
# 5  
Old 09-23-2010
I have 2 quick suggestions:
First, Was the cron daemon running? Do a ps -ef|grep. Of course if it is running now, maybe it wasn't running then.
Second, I've never seen that error, but I noticed the "rc=1". Was the system in single user mode? Just wondered.
# 6  
Old 09-23-2010
Every time this has happened to me at my work place, it is because the account in question has been either locked or the account is aged. This shouldn't be happening to root, but I'd check out the actual account setup to make sure that it is still proper.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to run root level command , if user has "su -" permission in sudoers provided?

I am looking t run root level command on multiple servers, but all servers have only "su - " permission available in sudoers. please help me if any way that I can run command using help of "su -" My script for hosts in `cat hosts.txt`; do echo "###########################Server Name-... (5 Replies)
Discussion started by: yash_message
5 Replies

2. Shell Programming and Scripting

Root running a script calling to scp using user "xyz" is not authenticating!

Close duplicate thread. (0 Replies)
Discussion started by: denissi
0 Replies

3. AIX

Change "root" to "root.admin" in outgoing e-mails

Our AIX servers send e-mails which have the "from" address set to "root@company.com" for our root user ("C{M}company.com" in /etc/sendmail.cf). The problem is that when bad e-mails are sent out or rejected by remote servers, they are being returned and delivered to e-mail box of "Mary Root". ... (2 Replies)
Discussion started by: kah00na
2 Replies

4. Red Hat

/var/log/messages error "kernel: RPC: bad TCP reclen"

Hi, I am seeing the following errors in my environment, not sure why is it happening, any ideas? Thanks. kernel: RPC: bad TCP reclen 0x73746174 (non-terminal ) Dec 17 02:14:48 kernel: RPC: bad TCP reclen 0x63480000 (large) Dec 17 02:14:48 kernel: RPC: bad TCP reclen 0x633f0000 (large) Dec... (5 Replies)
Discussion started by: amarlinux
5 Replies

5. Red Hat

error"warning: user owen does not exist - using root"?

I am trying to install openmotif22-2.2.3-18.src.rpm, after I typed in " rpm -i openmotif22-2.2.3-18.src.rpm" the following message comes out: warning: user owen does not exist - using root warning: group owen does not exist - using root I am install openmotif under root account. Do... (2 Replies)
Discussion started by: fishwater00
2 Replies

6. Shell Programming and Scripting

read -p "prompt text" foo say "read: bad option(s)" in Bourne-Shell

Hallo, i need a Prompting read in my script: read -p "Enter your command: " command But i always get this Error: -p: is not an identifier When I run these in c-shell i get this error /usr/bin/read: read: bad option(s) How can I use a Prompt in the read command? (9 Replies)
Discussion started by: wiseguy
9 Replies

7. UNIX for Dummies Questions & Answers

Possible to give non root user sudo to "crontab -l"

Does anyone know if this is possible? I want to give some users access to root's crontab but only with a read privilege. Is this possible to do or can only root or people with full root sudo view root's cron? (4 Replies)
Discussion started by: LordJezoX
4 Replies

8. Solaris

sendmail "root... User address required." error

I'm running sendmail (8.13.8+Sun/8.13.8/Submit) solaris 10. When I send mail to root at the command line (whether I use a full-qualified address or just root), I get the error message root... User address required. Sending mail to root (either at the command line or in a cron job),... (10 Replies)
Discussion started by: csgonan
10 Replies

9. HP-UX

Creating a "semi" root user? Is it possible?

Hello All, I work as a system admin at a company of about 600 users on a HP-UX server. We have an IT department of about 15. My problem is that we give out the root password to the majority of them, they are phone support techs, as they need to get in to kill processes and setup users and... (4 Replies)
Discussion started by: Setan
4 Replies
Login or Register to Ask a Question