Tips and tricks: How do I force users to change their passwords upon first login?

1.) Firstly, lock the account to prevent the user from using the login until the change has been made:

# usermod -L 

2.) Change the password expiration date to 0 to ensure the user changes the password during the next login:

# chage -d 0 

3.) To unlock the account after the change do the following:

# usermod -U 

» Read more


Friday roundup

  • How will we get our media in the future? The Digital Entertainment Content Ecosystem (DECE) may have something to say about that. From Newsweek.
  • If you’re not following the Mars Phoenix on Twitter, you totally should be. Because a robot that celebrates Talk Like A Pirate Day… from Mars? Awesome.
  • In honor of Richard Wright’s passing this week, check out this Pink Floyd / 2001: A Space Oddity synch in Wired.
  • Keeping an eye on web stuff: Does the web need an indicator of its truthiness? Tim Berners-Lee thinks so. And, in other news, the Web 2.0 expo seemed to take place without much of a downturn, even with the rough US economic news. (Wired, again.)
  • And to round out the Wired trifecta–and suggest a celebratory activity for this most festive (Arrrr!) day–we give you Pirate like a Pirate. Ahoy, matey, and set the sails for the weekend!

The power of Collaborative Innovation

With 1.4 billion people connected, the Internet is the greatest collaborative network that mankind has experienced. One of the consequences of the growth of this network is a shift in the way knowledge is being created and distributed. As we move to an interconnected world, the balance of power is shifting from old, proprietary models of knowledge creation to the open source model that emphasizes collaboration and sharing. From management gurus to consulting firms to leading business schools, everyone is taking note of this new phenomenon that goes by various names like ‘Collaborative Innovation,’ ‘Open Innovation,’ or ‘Distributed Co-creation.’

The open source movement has pioneered the Collaborative Innovation trend, and it is no surprise that the rapid growth of the Internet and the equally rapid growth of the open source community have mirrored each other. The Linux® operating system and Wikipedia website are both good examples of open source projects that embody the ideals of Collaborative Innovation. And those in the technology industry aren’t the only ones to take notice. Policy makers and corporate leaders in all markets are exploring how this powerful trend can be harnessed for social and economic development. » Read more


Tips and tricks: How do I add raw device mapping in Red Hat Enterprise Linux 5?

Answer:

The raw devices interface has been deprecated in Red Hat® Enterprise Linux® 5. The rawdevices service and /etc/sysconfig/rawdevices file no longer exist and raw devices are now configured via udev rules. However the preferred method for performing raw I/O (ie. bypassing filesystem caching) is to open EXT3/EXT2 files with the O_DIRECT flag.

This is an excerpt from the raw command’s man page:

Although  Linux  includes  support  for rawio, it is now a deprecated interface. If your application performs device access using this
interface, Red Hat encourages you to modify your application to open the block device with the O_DIRECT flag. The rawio interface will
exist for the life of Red Hat Enterprise Linux 5, but is a candidate for removal from future releases.

» Read more


Video: The history of Fedora

Download this video: [Ogg Theora]

You’ve seen him here before, but it’s been a while since he popped in for a visit. You can enjoy his earlier work here, here, here or here. (Or check out his entire RHM collection). Who is that masked man? It’s the Fedora Project’s Greg DeKoenigsberg. And who better to talk about this history of the Fedora than someone who has been involved nearly every step of the way…


Tips and tricks: What is devlabel, and how do I use it?

Devlabel is a script which manages symbolic links to storage devices on your system. This is accomplished by utilizing the inherent unique identifiers (UUID) that each device should have in order to maintain a correctly pointing symlink in the event that the device name changes (eg. /dev/sdc1 becomes /dev/sdd1).
» Read more


Friday roundup: The music edition

  • A new Brad Sucks album is available. Don’t know who that is? We have a podcast interview with the man himself, and we’ve used his music in our other projects. Bravo for Creative Commons licensing…
  • Speaking of CC, check this out. Attention remixers: Creative Commons and OpenSourceCinema are co-hosting a Call for Soundtracks for the movie “RIP: A Remixer’s Manifesto” a movie about the struggles to keep content free and open. Remixers everywhere are invited to download the movie clips linked to on this page and create music using Creative Commons licensed samples. The movie producers will select the best of those for use in the final version of the movie.
  • “MixMatchMusic brings a new level of precision to the burgeoning field of online music collaboration. If you’ve been looking for a way to make music with people without being in the same room as them — and you already have your own digital audio workstation (DAW) software — this could be just the collaboration tool you’ve been looking for.” Read more.

Tips and tricks: Registering Xen guests with RHN

Question: How do I register my Red Hat Enterprise Linux Xen Guest system with the Red Hat Network?

Answer:

Important: For Red Hat Enterprise Linux 4 fully-virtualized guests install the latest version of up2date.

This procedure will work for both fully-virtualized and para-virtualized guests.

  1. The host system (dom0) must be registered with Red Hat Network. Follow standard procedures to register this system with Red Hat Network (RHN).
  2. Under the System Properties page, subscribe the base system to the appropriate Virtualization Channel. Virtualization allows for up to 4 Xen guest registrations, while Virtualization Platform allows for an unlimited number of Xen guest registrations.
  3. Make sure that the virtualization add on entitlement is checked “Add-On Entitlements: Virtualization *(0 open entitlements)*”. This is available via rhn.redhat.com –> Systems (Top Red Bar) –> Click on the host
    system –> Click Edit These Properties –> Check the add on entitlements
    box (Virtualization) –> Click update properties. If you have Advanced
    Platform entitlement you can check the “Virtualization Platform” box
    instead to be able to register an unlimited number of guests for this host.

  4. Make sure that rhn-virtualization-common and rhn-virtualization-host are installed on the host system. If they are not installed, run:
    yum install rhn-virtualization-common rhn-virtualization-host
    
  5. Install the Xen guest.
  6. Make sure that the Xen guest is running. Please note that xenguest is the name of the Xen guest.
    xm create xenguest
    
  7. From the command line on the host system, run:
    rhn_check
    
  8. From the command line on the host system, run:
    rhn-profile-sync
    
  9. From the Xen guest, run:
    rhn_register
    

Now the Xen guest will show up as a registered, virtualized system. » Read more


Video: oVirt, part 2

Download this video: [Ogg Theora]

Brian Stein and Perry Myers, part of the oVirt engineering team, continue their discussion and demonstration of oVirt. This time, they delve into the embedded hypervisor, showing how it can be quickly and statelessly accessed or a new node created. They also discuss virtualization technologies–KVM vs. Xen–and what direction oVirt will be taking, and why. » Read more


FUDCon Brno 2008

The Fedora Project holds a “Fedora Users and Developers Conference” (FUDCon) several times each year, in various locations around the world. The latest installment was September 5-7, in Brno, Czech Republic.

Max Spevack, Red Hat’s manager of Community Architecture, shared his trip report with us. » Read more