[SOLVED] Fedora 15 df -h duplicate/double Mount Point Bug ???

Hi Friends,

I was very much excited to Install Fedora 15 on my Laptop, Installed it Successfully and Working fine, Shortly I am going to post steps to Install Fedora 15.

There is a 1 more reason for Excitement to Install Fedora 15 is GNOME 3. First Screen is Fantastic. I just liked it so much. Very Nice Graphics.

Exact after Installing Fedora 15, I just opened Terminal and Execute df -h guess what ??? I came to know about the Bug on Just First command. Got little bit disappointed, because df -h shows duplicate mount points. Don’t worry, Google Helped me to solve the issue.

OUTPUT looks like follow :-

Filesystem            Size  Used Avail Use% Mounted on
rootfs                 49G  4.7G   41G  11% /
udev                  490M     0  490M   0% /dev
tmpfs                 498M  560K  497M   1% /dev/shm
tmpfs                 498M  668K  497M   1% /run
/dev/sda2              49G  4.7G   41G  11% /
tmpfs                 498M  136K  497M   1% /sys/fs/cgroup
tmpfs                 498M     0  498M   0% /media
/dev/sda1             485M   31M  430M   7% /boot
/dev/sda2              49G  4.7G   41G  11% /tmp
/dev/sda2              49G  4.7G   41G  11% /var/tmp
/dev/sda3              49G  4.7G   41G  11% /tejas-barot
/dev/sda3              49G  4.7G   41G  11% /tejas-barot

In Above output you can see that it is showing multiple mount points, Duplicate mount points into df -h command.

TO SOLVE THIS ISSUE Execute Following Commands as root :-

#/etc/init.d/sandbox stop

# chkconfig sandbox off

# init 6

On Next reboot you will not see that duplicate mount points into df -h command. I don’t know the exact issue why this service is creating issue, but this is the way to solve, I am finding the thing for the same and will post it in details.

To Know about the same bug visit this link :- https://bugzilla.redhat.com/show_bug.cgi?id=701176

Hope this helps you guys, Waiting for your comment.

Enjoy Fedora 15 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂


Fedora 15 Released | Linux | Open Source

Hello,

Fedora Linux 15 is now available, providing users on the desktop with a full GNOME 3 experience including the GNOME Shell user interface.

Fedora 15, codenamed ‘Lovelock’ also introduces new security, spin, networking and virtualization features to the community Linux project, sponsored by Red Hat.

“GNOME Shell is a big change and I’d be doing people a disservice if I didn’t say that GNOME 3 and GNOME Shell is a fairly radical departure from the GNOME 2 experience,” Jared Smith, Fedora Project Leader told InternetNews.com. “That being said, a lot of people find the change refreshing.”

GNOME 3 as an upstream project was officially released in April and Fedora 15 is the first major Linux distro to include it as part of the core release. Smith noted that GNOME Shell was designed to have fewer interruptions for users and enable users to more easily access their data and applications.

The GNOME Shell is not something that everyone in the Linux community likes. Rival Linux distribution Ubuntu split with GNOME for their 11.04 release and released their own Unity user interface as a competitive alternative to GNOME 3. Smith noted that for Fedora users that don’t have the graphics hardware to run the GNOME Shell, there is a fallback mode that includes the gnome-panel, metacity and a notification-daemon.

For more :- http://itmanagement.earthweb.com/osrc/article.php/3934356/Fedora-15-Lovelock-Linux-Debuts-GNOME-3.htm

For Fedora 15 Official Release Notes :- http://docs.fedoraproject.org/en-US/Fedora/15/html/Release_Notes/

To Download Fedora 15 :- http://fedoraproject.org/get-fedora

Enjoy Fedora 15 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

Howto: Running TeamViewer 5/6 as root on Linux | Fedora | Ubuntu | RHEL | CentOS

Hello,

First of all Let me tell you that this HOWTO is performed on Fedora Ubuntu Red Hat Enterprise Linux and CentOS. This post is applied for TeamViewer Version 5 and 6.

Here is the post on TeamViewer on Linux Again. Hoping that you guys enjoyed previous post regarding TeamViewer Installing on Linux.

Now Here I am going to post 1 trick and tips for TeamViewer. Many Users who likes to work as root and but in TeamViewer 5 there is restriction for Running as root.

Whenever you are trying to run TeamViewer as root from Terminal, You will get message like below :-

TeamViewer must not be executed as root!

By Following very few steps you will be able to run TeamViewer as root.

Perform Following Steps to run TeamViewer As root.

  1. Of Course you have to be root to perform these all steps.
  2. Please Open Terminal on Fedora, Red Hat, CentOS ( Applications -> System Tools -> Terminal )
    Please Open Terminal on Ubuntu ( Applications -> Accessories -> Terminal )
  3. Now Lets find where exactly teamviewer command is. Execute Following command to Find it out.
    [root@tejasbarot.com]# which teamviewer
    /usr/bin/teamviewer
    <– You will get this kind of output on your terminal
  4. Be safe So First Lets take a backup of Original TeamViewer Command. Execute Following Command
    cp /usr/bin/teamviewer /usr/bin/teamviewer-orig 
  5. Let’s Open teamviewer file. Here in /usr/bin/teamviewer they have put the restriction for root user. So Lets Remove it. Open File By Executing vim /usr/bin/teamviewer and You will able to see following lines into /usr/bin/teamviewer :-

    userid=$(id -u)if [ $userid = 0 ]
    then
    echo TeamViewer must not be executed as root!
    exit 1
    fi

    CHANGE those line to

    ##userid=$(id -u)

    ##if [ $userid = 0 ]
    ##then
    ##        echo TeamViewer must not be executed as root!
    ##        exit 1
    ##fi

    Save and Exit this file ( Press “ESCthen Press :wq! )

     

  6. To Open TeamViewer from GUI. Click on Applications –> Internet -> TeamViewer
  7. To Open TeamViewer from Terminal in Fedora, Red Hat and CentOS. Click on Applications -> System Tools -> Terminal. On Terminal Execute Command teamviewerTo Open TeamViewer from Terminal in Ubuntu. Click on Applications -> Accessories -> Terminal. On Terminal Execute Command teamviewer
  8. That’s It Guys

Hope you all like this tip about Running TeamViewer as root on Fedora, Ubuntu, CentOS and RHEL. Please let me know if you face any difficulties while performing above steps. I have not tested it on Ubuntu but it should work with same way.

If you have not installed TeamViewer then please install it by visiting my previos post on TeamViewer :- http://www.tejasbarot.com/2010/12/02/installing-team-viewer-5-on-linux-teamviewer-fedora-rhel-centos-linux/

Let me have your feedback guys. Thanks for reading Article.

Enjoy TeamViewer on Linux 🙂 Enjoy TeamViewer as root 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

TeamViewer must not be executed as root!

Sudo with LDAP on RHEL 5 | RHDS | Red Hat Directory Server | OpenLDAP | Linux

Hello Friends,

On Internet this Post Known as :- Configuring sudoers with Red Hat Directory Server | Fedora Directory Server | Open Source | Linux

Yesterday at office i was trying to configure sudo with LDAP. To Configure SUDO with LDAP I have used RHEL 5 and with RHEL i have used Red Hat Directory Server and OpenLDAP with the same.

I was very shocked by Results because i was not sure that i will able to do it this in atleast 2 days, but as i said i was shocked by results that i was able to configured and get it working within 15-20 Minutes.

Requirement :- Users should authenticate with LDAP.

# cd /usr/share/doc/sudo-1.6.9p17/

Hello Friends,

Yesterday at office i was trying to configure sudo with LDAP. To Configure SUDO with LDAP I have used RHEL 5 and with RHEL i have used Red Hat Directory Server and OpenLDAP with the same.

I was very shocked by Results because i was not sure that i will able to do it this in atleast 2 days, but as i said i was shocked by results that i was able to configured and get it working within 15-20 Minutes.

Requirement :- Users should authenticate with LDAP.

# cd /usr/share/doc/sudo-1.6.9p17/

[root@station15 sudo-1.6.9p17]# ls
BUGS     HISTORY  README       sample.pam      sample.syslog.conf  schema.OpenLDAP  sudoers.pod  TROUBLESHOOTING  visudo.pod
CHANGES  LICENSE  README.LDAP  sample.sudoers  schema.iPlanet      sudoers2ldif     sudo.pod     UPGRADE
[root@station15 sudo-1.6.9p17]# cp schema.iPlanet /etc/dirsrv/schema/99sudo.ldif
[root@station15 sudo-1.6.9p17]# cp schema.iPlanet /etc/dirsrv/slapd-`hostname -s`/schema/99sudo.ldif
[root@station15 sudo-1.6.9p17]# /etc/init.d/dirsrv restart
Shutting down dirsrv:
station15…                                           [  OK  ]
Starting dirsrv:
station15…                                        [  OK  ]
[root@station15 sudo-1.6.9p17]# /etc/init.d/dirsrv-admin restart
Shutting down dirsrv-admin:
[  OK  ]
Starting dirsrv-admin:                                                            [  OK  ]
### Create LDIF Which contains below conetnt
[root@station15 ~]# cat sudoers.ldif
dn: ou=SUDOers,dc=station15,dc=example,dc=com
objectClass: top
objectClass: organizationalUnit
ou: SUDOers
[root@station15 ~]# ldapadd -x -c -W -f sudoers.ldif
root@station15 ~]# cd /usr/share/doc/sudo-1.6.9p17/
[root@station15 sudo-1.6.9p17]# ls
BUGS     HISTORY  README       sample.pam      sample.syslog.conf  schema.OpenLDAP  sudoers.pod  TROUBLESHOOTING  visudo.pod
CHANGES  LICENSE  README.LDAP  sample.sudoers  schema.iPlanet      sudoers2ldif     sudo.pod     UPGRADE
[root@station15 sudo-1.6.9p17]# chmod +x sudoers2ldif
[root@station15 ~]# SUDOERS_BASE=ou=SUDOers,dc=example,dc=com
[root@station15 ~]# SUDOERS_BASE=ou=SUDOers,dc=station15,dc=example,dc=com
[root@station15 ~]# export SUDOERS_BASE
[root@station15 ~]# echo $SUDOERS_BASE
ou=SUDOers,dc=station15,dc=example,dc=com
[root@station15 sudo-1.6.9p17]# ./sudoers2ldif /etc/sudoers > /tmp/sudousers.ldif
[root@station15 sudo-1.6.9p17]# ll /tmp/
total 76
-rw-r–r– 1 root root  2509 Sep  9 18:33 base.ldif
-rw-r–r– 1 root root  1639 Sep  9 17:56 buildscript
-rw-r–r– 1 root root  7388 Sep  9 18:34 group.ldif
-rw-r–r– 1 root root 17976 Sep  9 18:34 passwd.ldif
-rw——- 1 root root  9760 Sep  9 18:01 setupUP3wwp.log
-rw-r–r– 1 root root  1517 Sep  9 18:30 sudousers.ldif
[root@station15 sudo-1.6.9p17]# cd
[root@station15 ~]# mv /tmp/sudousers.ldif .
[root@station15 ~]# ldapadd -x -c -W -f sudousers.ldif
Enter LDAP Password:
adding new entry “cn=defaults,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=root,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=tejasbarot,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=visitor,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=linux-support,ou=SUDOers,dc=station15,dc=example,dc=com”

adding new entry “cn=ahmedabad,ou=SUDOers,dc=station15,dc=example,dc=com”

# Configure your client to authenticate with your LDAP Server

[root@station15 ~]# authconfig –enableldap –ldapserver=station15.example.com –ldapbasedn=dc=station15,dc=example,dc=com –disableldapssl –disableldaptls –update
[root@station15 ~]# getent passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
mailnull:x:47:47::/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51::/var/spool/mqueue:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
pcap:x:77:77::/var/arpwatch:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
gdm:x:42:42::/var/gdm:/sbin/nologin
avahi-autoipd:x:100:101:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
student:x:500:500::/home/student:/bin/bash
visitor:x:501:501::/home/visitor:/bin/bash
ldap:x:55:55:LDAP User:/var/lib/ldap:/bin/false
apache:x:48:48:Apache:/var/www:/sbin/nologin
linux-support:x:502:502::/home/linux-support:/bin/bash
tejasbarot:x:503:503::/home/tejasbarot:/bin/bash
ahmedabad:x:505:505::/home/ahmedabad:/bin/bash
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
news:x:9:13:news:/etc/news:
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
mailnull:x:47:47:mailnull:/var/spool/mqueue:/sbin/nologin
smmsp:x:51:51:smmsp:/var/spool/mqueue:/sbin/nologin
nscd:x:28:28:NSCD Daemon:/:/sbin/nologin
pcap:x:77:77:pcap:/var/arpwatch:/sbin/nologin
ntp:x:38:38:ntp:/etc/ntp:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
avahi:x:70:70:Avahi daemon:/:/sbin/nologin
xfs:x:43:43:X Font Server:/etc/X11/fs:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
gdm:x:42:42:gdm:/var/gdm:/sbin/nologin
avahi-autoipd:x:100:101:avahi-autoipd:/var/lib/avahi-autoipd:/sbin/nologin
student:x:500:500:student:/home/student:/bin/bash
visitor:x:501:501:visitor:/home/visitor:/bin/bash
ldap:x:55:55:LDAP User:/var/lib/ldap:/bin/false
apache:x:48:48:Apache:/var/www:/sbin/nologin
linux-support:x:502:502:linux-support:/home/linux-support:/bin/bash
tejasbarot:x:503:503:tejasbarot:/home/tejasbarot:/bin/bash
ahmedabad:x:505:505:ahmedabad:/home/ahmedabad:/bin/bash
[root@station15 ~]# echo “SUDOERS_BASE ou=SUDOers,dc=station15,dc=example,dc=com” >> /etc/ldap.conf
[root@station15 ~]# echo “sudoers: ldap” >> /etc/nsswitch.conf

######### Now Just remove entries from visudo file and Login using LDAP Authentication and just execute below command
[tejasbarot@station15 ~]$ sudo -l
Enter your password when it ask you for the password and you will able to see results as below :-
udo: unknown defaults entry `env_keep ‘ referenced near line 1
User root may run the following commands on this host:
(ALL) ALL

LDAP Role: root
RunAs: (ALL)
Commands:
ALL

[tejasbarot@station15 ~]$ sudo /etc/init.d/network restart
sudo: unknown defaults entry `env_keep ‘ referenced near line 1
Password:
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:
Determining IP information for eth0… done.
[  OK  ]

That’s It.

I hope this will helps you all, If you face any issue regarding the same or its not working for your some how then please raise your questions / issues at http://linuxforums.tejasbarot.com

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy Sudo with LDAP 🙂 Enjoy RHDS 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

Install Google Voice & Video Chat using Official Google RPM | Fedora | RHEL | Linux

Hello Friends,

I was waiting for this day eagerly, After Release of Google Voice & Video chat in DEB file i was waiting for Google Official RPM for Voice & Video Chat. As i was unable to found i have tried so many things, Fortunately some things works smoothly unfortunately some not. But Now No need to do any tricks for Installing Google Voice and video chat on Fedora and RHEL Linux, Because of Huge demand from Fedora & RHEL users Google It self released Official RPM for Voice & Video Chat so it feels very Nice.

Still this is the very quick release so some bugs or problems may be there but its very good to see google for releasing very fast.

Follow below procedure to install Google Voice & Video Chat using Official Google RPM

1. You need to be root for doing this procedure.

2. Download Official RPM from below link :-

http://www.google.com/chat/video

3. Once RPM Downloaded Just Execute below Command :-

rpm -ivh google-talkplugin_current-xxxx.rpm

4. If You face dependencies error then try to link your library files as per below instructions

# cd /usr/lib
# ln -s ../../lib/libcrypto.so.1.0.0a libcrypto.so.0.9.8
#
ln -s libssl.so.1.0.0a libssl.so.0.9.8
5. Once above procedure completed just close your firefox and Google Chrome and Reopen Firefox & Google Chrome.
Thanks Google for release RPM quick, Infact very quick.
Enjoy Google Voice & Video Chat on Fedora | RHEL 🙂 Enjoy Open Source 🙂 Enjoy Linux 🙂

Howto: Install Google Voice and Video Chat on Fedora | RHEL | Linux | RPM-Based System

Hello Guys,

As I have already posted that Google Voice and Video chat is available for Linux but Only for Ubuntu, Today i was googling for installing Google Voice and Video chat on Fedora | RHEL and RPM Based Linux.  So I Found 1 very nice howto on google helps itself. A very nice howto which shows us that howto install using DEB file. I am posting that with some modification.

Google Released Official RPM to Install using Official RPM follow this link :- http://www.tejasbarot.com/2010/09/02/install-google-voice-video-chat-using-official-google-rpm-fedora-rhel-linux/

Perform following steps to install Google Voice & Video chat on Fedora | RHEL and RPM Based Linux

1. You need to be root for Doing this. So be as a root

2. Click Here to Download DEB File. Or Execute Below command on Terminal.

# wget -c http://dl.google.com/linux/direct/google-talkplugin_current_i386.deb

3. Move deb file to /tmp directory. Execute below command
# mv google-talkplugin_current.deb /tmp

4. Now Change your Directory to /tmp. Execute cd /tmp

5. Now Execute below command
# ar vx google-talkplugin_current.deb # This command will extract DEB file here.

6. Above command will install drivers, but as we don’t have exact RPM so we have to make link of some library files. Execute below commands
# cd /usr/lib
# ln -s ../../lib/libcrypto.so.1.0.0a libcrypto.so.0.9.8
#
ln -s libssl.so.1.0.0a libssl.so.0.9.8

(non-Fedora distributions, and other versions of Fedora, may have different locations and version numbers for these libraries, but the same basic method should work.)

7. Now Again lets change our directory to /tmp where we have extracted DEB file. Execute command below
# cd /tmp
# tar xvzf data.tar.gz -C /

8. Now change your directory to /opt/google/talkplugin by executing command below
cd /opt/google/talkplugin

9. Type Below command
./GoogleTalkPlugin

If Everything is fine you will able to see two lines as below

./GoogleTalkPlugin: /usr/lib/libssl.so.0.9.8: no version information available (required by ./GoogleTalkPlugin)
./GoogleTalkPlugin: /usr/lib/libcrypto.so.0.9.8: no version information available (required by ./GoogleTalkPlugin)

Above lines are not errors its just warnings so Don’t worry.

By following this howto on some systems plugin will work on firefox and on some plugin will work on Google Chrome. Don’t know the reason but its only like that. Also I don’t say or not any surety that this will works for all.

I want to thank this post for showing a very nice way to install Google Plugin without RPM.

Source link :- http://www.google.co.uk/support/forum/p/chat/thread?tid=273c9ff21a1bbf53&hl=en

Enjoy Linux 🙂 Enjoy Voice & Video Chat on RPM Based Systems 🙂

All comments accepted.