Re: root passwd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/24/2010 11:38 PM, dhyang wrote:
> 在 2010-04-24六的 05:55 -0700,Lewis Jessup写道:
>    
>> I just installed fedora core 12 and install excepts a password for
>> root but when trying to login it gives an
>> 'authentication failure"
>>
>> Have tried booting up using 'rescue installed system' going to shell:
>> shell-4.0#
>> run passwd, and change password, then reboot
>> but cannot login as root have no trouble loggin as user.
>>
>> auy sugestions
>> Lewis Jessup (have been using linus for awhile but I'm still a newbe)
>>      
> you can't login as root by default, if use GUI.
>
>    
I always set up /etc/sudoers to allow user many but not all root privileges
Using root is dangerous.

su
enter root password
vim /etc/sudoers
go to the line which says
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
under that enter your username <tab> All=(ALL) <tab> ALL
where <tab> is the tab key.
esc wq! to save and quit

When you need root access from a terminal type sudo <some command> and 
it will ask for your user password.
type exit or close the terminal to exit sudo.

There are probably better ways but this works for me.
Roger




-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux