Skip to main content

Im tired of root

More
17 years 2 months ago #20027 by Lindows
Im tired of root was created by Lindows
Hi Fellow Computer Buffs,

I'm tired of using root to login. Can i change my root to another word.

Thanks,

lindows

"Linux saved my marriage"
More
17 years 1 month ago #20219 by nske
Replied by nske on topic Re: Im tired of root
Well, usernames are only hardcoded on the following files in the /etc directory:

passwd
shadow
group

So you could change the username of the superuser (root) account to something else by editing the references to those files. Or you could use the usermod command line utility instead.
More
17 years 1 month ago #20306 by SmartDude
Replied by SmartDude on topic Re: Im tired of root

Hi Fellow Computer Buffs,

I'm tired of using root to login. Can i change my root to another word.

Thanks,

lindows

"Linux saved my marriage"


This is really funny question, but i guess . In LINUX you have only ROOT for super user.....
may be others have tweak for this

Share the Knowledge, make a master being a Master...
Best Regards,
SmartDude
More
17 years 1 month ago #20316 by sahirh
Replied by sahirh on topic Re: Im tired of root
While you can do this, it's a horrendously bad idea for the simple reason that bad stuff might happen.

Some applications are stupid enough to check the username rather than the UID, so they will not be able to match 'root' since you've changed it.

A better idea might be to create a different user and use sudo to give it the required root powers. Then you can use this account just the same as root.

Cheers,

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
More
17 years 1 month ago #20490 by redduck666
Replied by redduck666 on topic Re: Im tired of root
you can create the username and give it UID 0.
More
17 years 1 month ago #20502 by ashok_nitc
Replied by ashok_nitc on topic Re: Im tired of root
nice to know it!
Time to create page: 0.153 seconds