[Fedora-livecd-list] Adding users to LiveCD

Taylor, Monroe E monroe.e.taylor at intel.com
Mon Nov 17 20:50:01 UTC 2008


I used the luseradd command instead of the useradd command as follows;

# add fedora user with no passwd
useradd -c "Fedora Live" fedora
passwd -d fedora > /dev/null

luseradd -c "ipdt" ipdt
#usermod -p 'ipdt' ipdt

luseradd -c "Monroe Taylor" metaylor
#usermod -p 'rocket23' metaylor

After burning and booting the CD I confirmed that accounts for each of the 3 users (Fedora Live, ipdt, and Monroe Taylor) were present on the login screen. However, none of them worked, not even the default (Fedora Live). 

For the two accounts I wanted to add, the error message was unable to authenticate user I even selected other and tried to use root but got the same result. When I tried the default, the screen changed as if it was logging in, but it returned to the login screen without any error reporting.

Are there any other ideas? It seems to me that at least the default should work.

Sorry for the late reply



-----Original Message-----
From: fedora-livecd-list-bounces at redhat.com [mailto:fedora-livecd-list-bounces at redhat.com] On Behalf Of Jesse Keating
Sent: Tuesday, November 11, 2008 3:50 PM
To: fedora-livecd-list at redhat.com
Subject: RE: [Fedora-livecd-list] Adding users to LiveCD

On Tue, 2008-11-11 at 14:49 -0700, Taylor, Monroe E wrote:
> 
> # add fedora user with no passwd
> useradd -c "Fedora Live" fedora
> passwd -d fedora > /dev/null
> 
> useradd -c "ipdg" ipdt
> useradd -c "monroe taylor" metaylor

IIRC useradd doesn't use libuser, and cannot set selinux attributes
correctly.  Try luseradd instead?

-- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating




More information about the Fedora-livecd-list mailing list