I am creating liveCD with livecd-creator tool and using Livecd-fedora-9-base-desktop.ks as the kickstart file. I needed to a user so I added the following command to the add user section of the kickstart file
useradd -c "full name of user" username
I created the LiveCD and booted it. The user was listed on the login screen. However, I was not able to login using it. The following message was displayed "unable to authenticate user". Since I did not set a password I was expecting that it would login but it did not.
Additionally, I attempted to login using the default Fedora Live Login. It did not work but there was no message displayed. It
Any ideas on what is causing this problem? [cid:image001.gif@01C94409.7C6C5A40]
[cid:image002.gif@01C94409.7C6C5A40] Monroe Taylor III Test engineering Intel Corporation Americas Post Sales Support (480) 552-3041 Fax (480) 552-7565 monroe.e.taylor@intel.commailto:monroe.e.taylor@intel.com
have you reset that users password
useradd -c "full name of user" username passwd -d username > /dev/null
No I did not. The reason since the default user login (fedora) does not work either. So I thought I see if new user worked without resetting password. Below is the section from the kickstart file I
# 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
-----Original Message----- From: fedora-livecd-list-bounces@redhat.com [mailto:fedora-livecd-list-bounces@redhat.com] On Behalf Of ???? ?????? Sent: Tuesday, November 11, 2008 2:38 PM To: fedora-livecd-list@redhat.com Subject: Re: [Fedora-livecd-list] Adding users to LiveCD
have you reset that users password
useradd -c "full name of user" username passwd -d username > /dev/null
-- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list
try to blame SELinux
On Tue, 11 Nov 2008 14:49:49 -0700, "Taylor, Monroe E" monroe.e.taylor@intel.com wrote:
No I did not. The reason since the default user login (fedora) does not work either. So I thought I see if new user worked without resetting password. Below
is
the section from the kickstart file I
# 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
-----Original Message----- From: fedora-livecd-list-bounces@redhat.com [mailto:fedora-livecd-list-bounces@redhat.com] On Behalf Of ???? ?????? Sent: Tuesday, November 11, 2008 2:38 PM To: fedora-livecd-list@redhat.com Subject: Re: [Fedora-livecd-list] Adding users to LiveCD
have you reset that users password
useradd -c "full name of user" username passwd -d username > /dev/null
-- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list
-- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list
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?
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@redhat.com [mailto:fedora-livecd-list-bounces@redhat.com] On Behalf Of Jesse Keating Sent: Tuesday, November 11, 2008 3:50 PM To: fedora-livecd-list@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?
I had the same problem. I tried it under Fedora 8 and it worked. I have tried Fedora 10 Beta and can't get the CD to roll and I changed to try to roll a Live CentOS or Redhat CD.
________________________________ From: "Taylor, Monroe E" monroe.e.taylor@intel.com To: "fedora-livecd-list@redhat.com" fedora-livecd-list@redhat.com Sent: Monday, November 17, 2008 3:50:01 PM Subject: RE: [Fedora-livecd-list] Adding users to LiveCD
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@redhat.com [mailto:fedora-livecd-list-bounces@redhat.com] On Behalf Of Jesse Keating Sent: Tuesday, November 11, 2008 3:50 PM To: fedora-livecd-list@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?
Please clarify if Fedora 8 worked by changing to luseradd or if it worked using useradd.
________________________________ From: fedora-livecd-list-bounces@redhat.com [mailto:fedora-livecd-list-bounces@redhat.com] On Behalf Of Todd Cooper Sent: Monday, November 17, 2008 1:55 PM To: fedora-livecd-list@redhat.com Subject: Re: [Fedora-livecd-list] Adding users to LiveCD
I had the same problem. I tried it under Fedora 8 and it worked. I have tried Fedora 10 Beta and can't get the CD to roll and I changed to try to roll a Live CentOS or Redhat CD.
________________________________ From: "Taylor, Monroe E" monroe.e.taylor@intel.com To: "fedora-livecd-list@redhat.com" fedora-livecd-list@redhat.com Sent: Monday, November 17, 2008 3:50:01 PM Subject: RE: [Fedora-livecd-list] Adding users to LiveCD
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@redhat.commailto:fedora-livecd-list-bounces@redhat.com [mailto:fedora-livecd-list-bounces@redhat.commailto:fedora-livecd-list-bounces@redhat.com] On Behalf Of Jesse Keating Sent: Tuesday, November 11, 2008 3:50 PM To: fedora-livecd-list@redhat.commailto:fedora-livecd-list@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
-- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.commailto:Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list
Fedora 8 worked with just useradd.
________________________________ From: "Taylor, Monroe E" monroe.e.taylor@intel.com To: Todd Cooper todd@world.std.com; "fedora-livecd-list@redhat.com" fedora-livecd-list@redhat.com Sent: Tuesday, November 18, 2008 3:59:37 PM Subject: RE: [Fedora-livecd-list] Adding users to LiveCD
Please clarify if Fedora 8 worked by changing to luseradd or if it worked using useradd.
________________________________
From:fedora-livecd-list-bounces@redhat.com [mailto:fedora-livecd-list-bounces@redhat.com] On Behalf Of Todd Cooper Sent: Monday, November 17, 2008 1:55 PM To: fedora-livecd-list@redhat.com Subject: Re: [Fedora-livecd-list] Adding users to LiveCD
I had the same problem. I tried it under Fedora 8 and it worked. I have tried Fedora 10 Beta and can't get the CD to roll and I changed to try to roll a Live CentOS or Redhat CD.
________________________________
From:"Taylor, Monroe E" monroe.e.taylor@intel.com To: " fedora-livecd-list@redhat.com " < fedora-livecd-list@redhat.com > Sent: Monday, November 17, 2008 3:50:01 PM Subject: RE: [Fedora-livecd-list] Adding users to LiveCD
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@redhat.com [mailto:fedora-livecd-list-bounces@redhat.com] On Behalf Of Jesse Keating Sent: Tuesday, November 11, 2008 3:50 PM To: fedora-livecd-list@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?
livecd@lists.fedoraproject.org