Install & Configure CVS on RHEL, Fedora 9/10.

Hi Friends,
I am Sharing method to Install & configure a basic steps to installing and configure CVS on RHEL Fedora 9 /10.

  1. First of all Install xinetd package.yum -y install xinetd

  2. Install cvs package.yum -y install cvs*

  3. Create a group cvs.

  4. Create a user cvsroot and assing it to cvs group.

  5. Now make sure that following entries are present in your /etc/services file if the entries are not present then add it manually save & exit.

    You can check entries by executing this command cat /etc/services | grep cvspserver

    cvspserver 2401/tcp # CVS client/server operations

cvspserver 2401/udp # CVS client/server operations

  1. Check your /etc/xinetd.d/cvs file and check that following entries are available and if now as above add it manually.

    Entry will look like this:-

    # default: off

    # description: The CVS service can record the history of your source

    # files. CVS stores all the versions of a file in a single

    # file in a clever way that only stores the differences

    # between versions.

    service cvspserver

    {

    port = 2401

    socket_type = stream

    protocol = tcp

    wait = no

    user = root

    server = /usr/bin/cvs

    server_args = -f –allow-root=/home/cvsroot pserver

    }

  2. Now restart your xinetd service using following command

    service xinetd restart or /etc/init.d/xinetd restart

  3. Now allow port 2401 which is cvspserver port from iptables and also allow

    SELinux exceptions.you can do that by doing this ( In “System”->”Administration”->”Security Level and Firewall”, add firewall exception of port “2401” corresponding to “cvspserver” service, and also remember to “Modify SELinux policy”->”SELinux Service Protection”->”Disable ELinux Service Protection for cvs”. )

    Now this steps are important

  4. Login as a “cvsroot”

  5. execute cvs -d /home/cvsroot/ init

  6. now enter into /home/cvsroot/

  7. Assign permission chmod 771 CVSROOT

  8. This time,all local real system users can log into CVS server with their own passwords.
    If you want to disable, you can do by:

  9. chmod 644 /home/cvsroot/CVSROOT/config

  10. vim CVSROOT/config

    Here you need to uncomment the line where #SystemAuth = yes. And set SystemAuth = no.

Then now your system users cannot use CVS service with their own system passwords, except you assign them manually in file /home/cvsroot/CVSROOT/passwd.

If passwd file is not available then create user by executing following commands:-

htpasswd -d -c /home/cvsroot/CVSROOT/passwd raghu (option -c is only use when you are creating first time)

To add additional user:-

htpasswd -d /home/cvsroot/CVSROOT/passwd rajiv

16. To control user access in CVS, there are three files in /home/cvsroot/CVSROOT/, respectively named passwd, readers, writers. The file readers and writers are not there by default, so you have to create them manually.

In file “passwd”, ithere stores the shadow files for username and password, following the rule:

{cvs usrname}:[encrypted pwd]:[equivalent system usrname]

where the second field is encrypted with crypt(3), just like in /etc/shadow.

The thrid field equivalent system usrname means the corresponding system priviledge the cvs usrname has.

In file “readers”, there stores the list of cvs usrnames of whom you want to enable to only have read acess.

Similarly, in file “writers”, there stores the list of cvs usrnames of whom you want to enable to only have read acess.

Now, let us suppose we have CVS users “raghu”, “rajiv”, “anonymous”. And we don’t want to give them system access, which means the corresponding system priviledge the cvs usrnames have are all null. So, we need to create an equivalent system user, which names “roadies”, who has no system priviledge at all.

$ useradd -g CVS -M -s /sbin/nologin roadies

Then edit file “passwd”, make it like:

raghu:$fajkdpaieje:roadies

rajiv:fjkal;ffjieinfn/:roadies

anonymous::roadies

Now suppose we want to let raghu has write acess while rajiv and anonymous only have read acess.

Then edit file “readers”, make it like:

rajiv

anonymous

And edit file “writers”, make it like:

raghu

Then it is all finished.

(14) Test login:

$export CVSROOT=:pserver:raghu@the_server_name:/home/cvsroot

$ cvs login

(System will ask for password for raghu)

Passwd:xxxxxxxx

There should be no error when you have successfully login to the CVS server.

Please Click on Google +1 button and Add your ratings if this works for you and you like it.

Enjoy CVS 🙂 Enjoy Linux and Open Source 🙂

Top 10 Open-Source Server Technologies You Need to Know

Hello,

If you think open-source server technologies are limited to Linux distributions, think again. Although these software projects pair well with Linux, it isn’t an integral part of any of the 10 listed. Open-source software no longer refers to a Linux-only environment. In fact, open source now crosses all operating system boundaries, so much so, that Microsoft launched its own open-source laboratory called Port 25, and it is a platinum-level sponsor of the Open Source Business Conference in San Francisco. To introduce you to 10 hot server-oriented open-source technologies you need to know, I compiled a diverse list of projects and applications for you to discover and explore. Many of these products are free of cost or close to it.

For more visit this link :- http://www.serverwatch.com/trends/article.php/3865716/Top-10-Open-Source-Server-Technologies-You-Need-to-Know.htm

6 of the best media burners for Linux

Introduction

Back in the day, a custom audio CD with the best love songs made a wonderful Valentine’s Day gift. Now she’d hardly be impressed.

You’d need to throw in the holiday videos and make sure it works on the high definition plasma to sweep her off her feet.

That might sound like a lot of work, but it’s a job you can get done with almost any Linux CD/DVD burning app.

That’s because most writing apps are equally capable of putting data on optical media as they are at retrieving it. And some apps don’t just do brute force ripping – they also have decent transcoding abilities and give you quite a bit of control over the end result.

In addition to normal CDs and DVDs, almost all apps can handle rewriteable (RW) and dual-layer double-capacity versions. Although high-capacity discs and their respective Blu-ray and HD DVD drives aren’t very common, if you own one, you can find at least a couple of applications for Linux that will put it to good use.

Since all distros come with a disc burning app, they get a lot of attention to make sure they integrate into their native environment and don’t look out of place. When you put in a blank CD, the burner should pick it up and ask you what kind of data you’d like to burn.

Yet despite all the glitz, the same age-old tools are chugging away at the back-end, giving the front-end apps approximately equal powers. So, how do the various disc burning apps stack up against each other and which one should you trust with your data? Let’s spin ’em up and find out.

To Read more visit this link :- http://www.techradar.com/news/computing/pc/6-of-the-best-media-burners-for-linux-635084

Beyond Firefox: 10 Other Great Linux Browsers

Firefox has been a reliable browser for me for many years and it still continues to be so to a certain extent. However, over the last few releases Firefox has become bloated and slow in performance that same way IE used to be before we switched to Firefox. The only thing that is stopping me from switching to another browser, is the large number of extensions available for Firefox. Specifically firebug. Since I spend most of my time on a Linux system, over the last few days I have been looking for an alternative Linux browser. Here are 10 of the best Linux browsers out there that can be a decent alternative to Firefox:

Enjoy Reading >>>

Add Nautilus Templates at Right Click on Fedora

Creating New Documents by Right Click From Your Desktop

Hi Friends,

This tips is For Fedora9, Fedora 10 Linux.

If Someone looking or if someone is confusing or Don’t know that How to Add New Word Document, New Odt Document or any New Document By Right Clicking on Desktop like Micro$oft Do.So Let’s Do with Linux and Believe me Its  Very Easy.

Look at this Snapshot It will Look Like this……………………………

http://barot.wordpress.com
http://barot.wordpress.com

Follow the Instruction to do that.

Step 1: First Download Templates From this link http://www.gnome-look.org/content/show.php?content=39317

Step 2: Extract it By Anyway if you want to extract it.From Graphical Mode or From Shell Mode.

Step 3 :- Now Open that Extracted Folder.

Step 4:- Open Your Nautilus Window. i.e. Under Applications -> System Tools -> File Browser.

Step 5:- Once Nautilus Window gets Open. Click on Go -> Templates.It will open your Templates Folder.

Step 6:- Now Copy (or Cut ) all the files From that Extracted Folder and Paste in to Your File Browser’s Template Folder (~/Templates) which you Opened from Go -> Templates.

Step 7:- Now Minimize all the Open Applications. Right Click on Desktop -> Move your Cursor to Create Document. Here You will get all the list of Document.

Step 8: The Great things is that You can add as many as  Documents with any extensions.As I added.You can
See in Snapshot.

Step 9:- Now You can Create Document by Using this Shortcut as Micro$oft do.

Enjoy Shoutcuts 🙂 Enjoy Fast Life with Linux 🙂

All comments Accepted. Thanks.

Lock your screen using command line

Hi friends,
I read one article today and that was fantastic.I am sharing that article here hope you all like it.

Lock your Screen using command line in Fedora 10 and Ubuntu.

This command is extraordinary for who work on terminal continuously and want to step away for some movements.

gnome-screensaver-command –lock

NOTE –In this command, where you see “–lock”, it is really 2 hyphens with no spaces in between, followed by “lock” …  – – lock. WordPress renders two hyphens put together as… –

When you execute above command then it will activate your screen saver and prompt for password to login.But as i metioned that command is pretty long so you need to create alias for that.To create alias Follow below method.

Open your .bashrc file into your favorite editor i am using vim as my editor.before editing file dont forget to make backup.
vim .bashrc (if you are not at home directory prompt then vim /home/<user-name>/.bashrc)

Now just move to end of file and paste below content.
alias lock=’gnome-screensaver-command –lock’

Save & Exit from File.

Now above commands tells your ubuntu or fedora that if you type in lock ,it actually executes gnome-screensaver-command –lock

Enjoy Lock Screen from Command Prompt 🙂

source :- http://howto-ubuntu.com/2008/12/11/how-to-lock-your-screen-from-the-command-line/