- Posts: 246
- Thank you received: 0
Im tired of root
17 years 8 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"
I'm tired of using root to login. Can i change my root to another word.
Thanks,
lindows
"Linux saved my marriage"
17 years 8 months 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.
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.
17 years 8 months ago #20306
by SmartDude
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
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
17 years 8 months ago #20316
by sahirh
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
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,
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
- redduck666
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
17 years 7 months ago #20490
by redduck666
Replied by redduck666 on topic Re: Im tired of root
you can create the username and give it UID 0.
- ashok_nitc
- Offline
- Junior Member
Less
More
- Posts: 64
- Thank you received: 0
17 years 7 months 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.146 seconds