LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

sendmail configuration in RHEL

Posted 11-08-2011 at 04:23 AM by deep27ak
Updated 08-18-2012 at 05:03 AM by deep27ak

For more Linux based tutorials My BLOG

Many times I have seen people complaining about their sendmail configuration.

So here I am going to explain configuration of sendmail on RHEL 5

NOTE: This is a simple configuration but if you want to insert some special permissions and authentications let me know I will try to help with additional info

To start of you need to check for the presence of STARTLS and SASLv2 in your machine
Code:
#sendmail
...
Senior Member
Posted in Uncategorized
Views 5935 Comments 0 deep27ak is offline
Old

logrorate - centos 5

Posted 11-05-2011 at 08:40 AM by Sharad Garg

Hi

I have a logfile of my application. I want this file to rotate if its size exeeds 1 MB.

For this I am using `logrorate'. I am running the logrorate manually. S whenever I run logrorate, log file gets rorates. It does not take care whether the file size is less than 1 M or not.

I have defined size 1M in the config file. For reference the content of config file is here -

=======================================================================================...
LQ Newbie
Posted in Uncategorized
Views 388 Comments 0 Sharad Garg is offline
Old

allowing commands to continue after parent shell exit

Posted 11-05-2011 at 06:52 AM by neonsignal

Because commands that are started from a shell are child processes, they will normally be terminated when the shell exits.

A command can be run with nohup so that it can continue beyond the life of the parent shell, and output will be directed to the file nohup.out:
Code:
nohup command
Alternatively, if the command is already running (ie in the background), it can be allowed to continue by using disown before closing the shell:
Code:
disown
...
Senior Member
Posted in Uncategorized
Views 10241 Comments 2 neonsignal is offline
Old

resetting the root password

Posted 11-05-2011 at 06:36 AM by neonsignal
Updated 11-05-2011 at 06:38 AM by neonsignal

When the root password has been lost, it can be reset as follows.

At the grub menu, select 'e' to edit, and add the parameter 'init=/bin/bash' to the linux line. Then 'ctrl-x' to continue booting. This will start the system into a command shell.

Then remount the filesystem root as writable, so that the password can be changed:
Code:
mount -n -o rw,remount /
Change the password in the usual way, then sync to disk:
Code:
passwd
...
Senior Member
Posted in Uncategorized
Views 357 Comments 0 neonsignal is offline
Old

ubuntu 11.10

Posted 11-04-2011 at 09:09 PM by alucard74

Help I've just upgraded to the latest version of ubuntu 11.10 and have lost dual screen. I am running a dell inspiron 1520 with nvidia graphics card. When I go into display all it tells me is I have an unknown screen and won't search for other monitors or tvs. It was working fine before upgrade, can anyone help?????
LQ Newbie
Posted in Uncategorized
Views 28641 Comments 6 alucard74 is offline

  



All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration