Re: root password of Fedora-18-Alpha-TC3
On 2012-08-30 14:50, Matthew Miller wrote: On Thu, Aug 30, 2012 at 12:03:39PM -0700, Adam Williamson wrote: (Of course, as in Ubuntu, if you don't like the model and want to stick with the old-school system instead, you can just do 'sudo passwd' to set a password for the root user and take your user out of the 'wheel' group so it can't use sudo any more, though I don't know a one-command way to make your user a non-admin user for PolicyKit, hence causing it to ask you for the root password rather than your own for admin operations). Removing yourself from wheel should do that too, shouldn't it? (I believe it's implemented by "AdminIdentities=unix-group:wheel".) Or am I missing something? You're very probably right, I hadn't looked into exactly how it's implemented in PK. -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora http://www.happyassassin.net -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: root password of Fedora-18-Alpha-TC3
On Thu, Aug 30, 2012 at 12:03:39PM -0700, Adam Williamson wrote: > (Of course, as in Ubuntu, if you don't like the model and want to > stick with the old-school system instead, you can just do 'sudo > passwd' to set a password for the root user and take your user out > of the 'wheel' group so it can't use sudo any more, though I don't > know a one-command way to make your user a non-admin user for > PolicyKit, hence causing it to ask you for the root password rather > than your own for admin operations). Removing yourself from wheel should do that too, shouldn't it? (I believe it's implemented by "AdminIdentities=unix-group:wheel".) Or am I missing something? -- Matthew Miller Senior Systems Architect -- SEAS Computing Harvard School of Engineering & Applied Sciences -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: root password of Fedora-18-Alpha-TC3
On Thu, Aug 30, 2012 at 12:03:39PM -0700, Adam Williamson wrote: > bit complicated. The original design was for there to be no root > password set: the idea is to use an Ubuntu-style model where the > first created user is an 'admin user' who can perform all admin > tasks - they can do admin tasks in apps that use PolicyKit by I call that a "BU Linux style model". :) -- Matthew Miller Senior Systems Architect -- SEAS Computing Harvard School of Engineering & Applied Sciences -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: root password of Fedora-18-Alpha-TC3
On 2012-08-30 11:22, Sérgio Basto wrote: Hi, After many work, I install Fedora-18-Alpha-TC3 in VirtualBox , but I don't have root password , don't remember ask me for that . this is correct ? There isn't exactly a 'yes' or 'no' answer to that question, it's a bit complicated. The original design was for there to be no root password set: the idea is to use an Ubuntu-style model where the first created user is an 'admin user' who can perform all admin tasks - they can do admin tasks in apps that use PolicyKit by entering their own password rather than root's, and from the console they can run anything root-y via sudo with their own password. This system is actually already available - if you check the 'admin user' checkbox in firstboot when creating a user, all of the above is put in place. However, there are some holes in the plan. firstboot doesn't enforce creation of an an admin user, which it probably should in this design, and more importantly, there's no firstboot for non-graphical installs, so you need to be able to create a root password in that case, or else you'll be entirely unable to log in to the installed system without some kind of rescue operation (as root has no password and there are no user accounts): https://bugzilla.redhat.com/show_bug.cgi?id=849250 The short-term plan for Alpha is that there will be a root password 'spoke' in anaconda. It's optional, because making it mandatory would be tricky and not really fit into the new anaconda design. This should be implemented for TC4. This is just the easiest short-term solution, though, and anaconda team may come up with something different (hopefully, better...) for Beta / Final. (Of course, as in Ubuntu, if you don't like the model and want to stick with the old-school system instead, you can just do 'sudo passwd' to set a password for the root user and take your user out of the 'wheel' group so it can't use sudo any more, though I don't know a one-command way to make your user a non-admin user for PolicyKit, hence causing it to ask you for the root password rather than your own for admin operations). -- Adam Williamson Fedora QA Community Monkey IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora http://www.happyassassin.net -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
Re: root password of Fedora-18-Alpha-TC3
Hi there, Seems to be a bug with the new features, details here https://bugzilla.redhat.com/show_bug.cgi?id=849250. You can reset the root password by following the steps outlined in the following guide: https://fedoraproject.org/wiki/How_to_reset_a_root_password . Basically boot to single user mode, passwd, reboot. Good luck. -- Original Message -- From: "Sérgio Basto" To: "Development discussions related to Fedora" Sent: 30.08.2012 21:22:56 Subject: root password of Fedora-18-Alpha-TC3 Hi, After many work, I install Fedora-18-Alpha-TC3 in VirtualBox , but I don't have root password , don't remember ask me for that . this is correct ? Thanks, -- Sérgio M. B. -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel