jason watts wrote:
hello

i spent today downloading installing and updateing (851 updates) fedora core 5. as part of my senior project.

after i was done, i was told to add this account, and give him root privlages. so, i added the user to the group 'root'. then i was instructed to google and find out how to delete the root account since i said i dont think its posible.

so, my questions are,

1) how do i delete root? can i do it threw the normal way you delete any user account?

I was just able to do the following:

[EMAIL PROTECTED] ~] useradd -u 0 -o falseroot

[EMAIL PROTECTED] ~] logout

[EMAIL PROTECTED] ~] su - falseroot

[EMAIL PROTECTED] ~] userdel root

[EMAIL PROTECTED] ~] logout

[EMAIL PROTECTED] ~] su - falseroot

[EMAIL PROTECTED] ~] cd /root/

[EMAIL PROTECTED] ~] touch foo
[EMAIL PROTECTED] ~] su - root
su: user root does not exist



So I created a new user which is equivelant to root, deleted root, was able to write a file in a dir which requires root permissions, but showed that root no longer
exists.

Hope this helps.


TTYL,

Phil


--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to