Pages

Showing posts with label Computers. Show all posts
Showing posts with label Computers. Show all posts

Thursday, January 21, 2010

Configuring YUM server for LInux on Windows FTP server

Hi all,
          In this artical i am going to setup YUM ( Yellowdog Update Modified) server on a Windows based FTP server.Here we go;
First of all copy Full DVD  of your linux distribution on a windows ftp server.
In my case i have copied all the contented of Fedora core-11dvd on my windows ftp server (192.168.5.52\fedora11)
The exact link location is ftp://192.168.5.52/fedora11

Now on Linux system follow the following steps
1. Move all the repo file to a backup location in my case /backup/yum.repod

[root@satish.malanch.com tmp ]# mv /etc/yum.repod/*  /backup/yum.repod/
[root@satish.malanch.com tmp ]# cp /backup/yum.repod/fedora.repo  /etc/yum.repod/satishmalanch.repo

Now edit this file with vim edtior:
root@satish.malanch.com tmp ]# vim /etc/yum.repod/satishmalanch.repo



  Edit the file as shown in above figure.
Now run following command:


[root@satish.malanch.com tmp ]# yum clean all 
Now you have configured the yum repositry on a windows based ftp server on network.
You can now install the packages without any dependancy.


...........................  Satish Kr Malanch







 

Configuring YUM server for LInux on Windows FTP server

Hi all,
          In this artical i am going to setup YUM ( Yellowdog Update Modified) server on a Windows based FTP server.Here we go;
First of all copy Full DVD  of your linux distribution on a windows ftp server.
In my case i have copied all the contented of Fedora core-11dvd on my windows ftp server (192.168.5.52\fedora11)
The exact link location is ftp://192.168.5.52/fedora11

Now on Linux system follow the following steps
1. Move all the repo file to a backup location in my case /backup/yum.repod

[root@satish.malanch.com tmp ]# mv /etc/yum.repod/*  /backup/yum.repod/
[root@satish.malanch.com tmp ]# cp /backup/yum.repod/fedora.repo  /etc/yum.repod/satishmalanch.repo

Now edit this file with vim edtior:
root@satish.malanch.com tmp ]# vim /etc/yum.repod/satishmalanch.repo



  Edit the file as shown in above figure.
Now run following command:


[root@satish.malanch.com tmp ]# yum clean all 
Now you have configured the yum repositry on a windows based ftp server on network.
You can now install the packages without any dependancy.


...........................  Satish Kr Malanch







 

Wednesday, December 30, 2009

Unable to login on Fedora 11 with root user in GUI

I just install linux ( Fedora core -11) after interval of more than 6 months. Just installed Fedora core 11, surprisely there was one more option to create file sytem ext4 ,this file system was new for me.
Now as i finished installation ooooooooooooopsss
I was'nt able to login in GUI as super user. System refelect an error "unable to authoneticate"
Finaly after a littel bit R & D i got solution.Here it is:
 Fedora 10 and above uses pam module called pam_succeed_if.so. This module is designed to succeed or fail authentication based on characteristics of the account belonging to the user being authenticated. One use is to select whether to load other modules based on this test. This module blocks root login using GUI.
to fix this problem


Login as a normal user and open terminal
now give command



[satish@malanch.com]$su

Type your root password. Next, make a backup of /etc/pam.d/gdm, enter:


[root@malanch.com]#cp /etc/pam.d/gdm /root

Now open /etc/pam.d/gdm using gedit or vi text editor, enter:





[root@malanch.com]#vim  /etc/pam.d/gdm

Alternatively, you can do everything in a one command:



su -c 'gedit /etc/pam.d/gdm

Find line that read as follows:



auth required pam_succeed_if.so user != root quiet
Remove or comment out line by prefixing #.



# auth required pam_succeed_if.so user != root quiet

Save and close the file. Logout from terminal and from GUI itself.
now restart ur machine by init 6.
Now you can login to your sytem in GUI with root user. (only in case of Fedora 10)

In case of Fedora 11 you need to edit one more file which is located in /etc/pam.d/gdm-password

[root@malanch.com]#vim /etc/pam.d/gdm-password

Find line that read as follows:


auth required pam_succeed_if.so user != root quiet



Remove or comment out line by prefixing #.




Now restart and enjoy login with root.


                                                                ... Satish Malanch
                                                                     
satishmalanch@gmail.com

Unable to login on Fedora 11 with root user in GUI

I just install linux ( Fedora core -11) after interval of more than 6 months. Just installed Fedora core 11, surprisely there was one more option to create file sytem ext4 ,this file system was new for me.
Now as i finished installation ooooooooooooopsss
I was'nt able to login in GUI as super user. System refelect an error "unable to authoneticate"
Finaly after a littel bit R & D i got solution.Here it is:
 Fedora 10 and above uses pam module called pam_succeed_if.so. This module is designed to succeed or fail authentication based on characteristics of the account belonging to the user being authenticated. One use is to select whether to load other modules based on this test. This module blocks root login using GUI.
to fix this problem


Login as a normal user and open terminal
now give command



[satish@malanch.com]$su

Type your root password. Next, make a backup of /etc/pam.d/gdm, enter:


[root@malanch.com]#cp /etc/pam.d/gdm /root

Now open /etc/pam.d/gdm using gedit or vi text editor, enter:





[root@malanch.com]#vim  /etc/pam.d/gdm

Alternatively, you can do everything in a one command:



su -c 'gedit /etc/pam.d/gdm

Find line that read as follows:



auth required pam_succeed_if.so user != root quiet
Remove or comment out line by prefixing #.



# auth required pam_succeed_if.so user != root quiet

Save and close the file. Logout from terminal and from GUI itself.
now restart ur machine by init 6.
Now you can login to your sytem in GUI with root user. (only in case of Fedora 10)

In case of Fedora 11 you need to edit one more file which is located in /etc/pam.d/gdm-password

[root@malanch.com]#vim /etc/pam.d/gdm-password

Find line that read as follows:


auth required pam_succeed_if.so user != root quiet



Remove or comment out line by prefixing #.




Now restart and enjoy login with root.


                                                                ... Satish Malanch
                                                                     
satishmalanch@gmail.com