Sendmail locking root


 
Thread Tools Search this Thread
Operating Systems Solaris Sendmail locking root
# 1  
Old 11-27-2009
Sendmail locking root

Hi,
we are running on Solaris 10 and I see that under
/usr/mail
-rw-rw---- 1 root mail 0 Nov 26 11:19 root
-rw------- 1 root mail 2 Nov 24 17:14 root.lock
-rw------- 1 root mail 2 Nov 27 09:26 root4_aGD6
-rw------- 1 root mail 2 Nov 27 09:26 rootHAaqyo
-rw------- 1 root mail 2 Nov 27 09:26 rootS9ayi5

looks like to root is locked , I would like to now

why and hwo can I unlock it ??
any Help is appreciated , Thanks
# 2  
Old 11-27-2009
remove/rename the file. How did you know that sendmail is locking root?? :/
# 3  
Old 11-27-2009
ok,
I can remove those files:
-rw------- 1 root mail 2 Nov 27 09:26 root4_aGD6
-rw------- 1 root mail 2 Nov 27 09:26 rootHAaqyo
-rw------- 1 root mail 2 Nov 27 09:26 rootS9ayi5

but I cannot remove even from the console
-rw------- 1 root mail 2 Nov 24 17:14 root.lock

in any case it told me " permission denied"

it is not that the root account is locked but no mail coming from root
and the sendmail is using more and more cpu power

I now stopped the service and restarted it, looks better but still I do not understand why root.lock was created and I cannot delete it, maybe a reboot would clean this but I am more interested why....
# 4  
Old 11-28-2009
As root, chmod 700 <filename>
rm <filename>
# 5  
Old 11-30-2009
even if I do it via the console I cannot chmod 700 nor rm root.lock...
it just says "permission denied"
# 6  
Old 11-30-2009
Are you using root a/c? Smilie
# 7  
Old 11-30-2009
what you mena with "root a/c" ?

After i tried it on a normal shell after becoming root I tried it via the system console as real root but still get the "permission denied" so I cannot chmod 700 .
I stopped sendmail service on Solaris 10 and tried again no result.
I be able to reboot it this Friday night but sofar I unable to fix it.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

2. Red Hat

sendmail doesn't work for root

I've created a Perl daemon that needs to send an email when an error/shutdown occurs. I use the Perl Email::Valid module and that uses sendmail. When I run the script as a regular user, the email is sent with no issues. When I run the script as the root user, I get the following message in... (1 Reply)
Discussion started by: OldManEd
1 Replies

3. Linux

Sendmail has these errors--Domain of sender address <root@time.com> does not exist

Does anyone has a clue of what is going on here? It was working few days ago. /etc/hosts looks ok, sendmail does restart without any errors, telnet is successful. I will be happy to send you guys any output required. Diagnostic-Code: SMTP; 553 #5.1.8 Domain of sender address... (1 Reply)
Discussion started by: lovesaikrishna
1 Replies

4. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

5. Red Hat

Sendmail sends messages like root

Hi, we are setup sendmail like a relaying. We are using user authetecing in the smart mail host. But when we use sendmail to send a message, the message is rejected, because user root, not is a user known in the domain. Where or what must i do, to can be able to send messages from the sendmail... (0 Replies)
Discussion started by: iroshit
0 Replies

6. UNIX for Advanced & Expert Users

File locking

i am working on a device runnin on linux....i have configured the samba server in the device such that my windows PC can access a shared folder in the device. Also in the device i am runnin some programs which access the files in this shared folder. What i want to know is whether there is any way i... (1 Reply)
Discussion started by: abhinx
1 Replies

7. Solaris

locking a users file as root

hello, I have a challenge to find a way to lock down a file in a user's home directory, such that a user can NOT modify, rename, move, delete, etc. The solution needs to be deployable without, for example, having to switch from unix to windows, etc We are using NFS. We want to lock the... (1 Reply)
Discussion started by: jvmagic
1 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. SCO

System Locking Up

I have a server that is locking up pretty frequently for serveral months. I have about 4 dumb terminals running off this server and it appears that when the system is about to lock up it starts to run really slow on one of the terminals and then the rest follow suit until it just craps out. We... (1 Reply)
Discussion started by: mcrawfo4
1 Replies

10. UNIX for Dummies Questions & Answers

Run non-root script as root with non-root environment

All, I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies
Login or Register to Ask a Question