Hot Downloads

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Im tired of root

Im tired of root 9 years 9 months ago #20027

  • Lindows
  • Lindows's Avatar
  • Offline
  • Senior Member
  • Posts: 246
  • Karma: 0
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"
The administrator has disabled public write access.

Re: Im tired of root 9 years 8 months ago #20219

  • nske
  • nske's Avatar
  • Offline
  • Expert Member
  • Posts: 613
  • Karma: 0
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.
The administrator has disabled public write access.

Re: Im tired of root 9 years 8 months ago #20306

  • SmartDude
  • SmartDude's Avatar
  • Offline
  • Distinguished Member
  • Posts: 88
  • Karma: 0
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
The administrator has disabled public write access.

Re: Im tired of root 9 years 8 months ago #20316

  • sahirh
  • sahirh's Avatar
  • Offline
  • Honored Member
  • Posts: 1700
  • Karma: 0
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
The administrator has disabled public write access.

Re: Im tired of root 9 years 8 months ago #20490

you can create the username and give it UID 0.
The administrator has disabled public write access.

Re: Im tired of root 9 years 8 months ago #20502

  • ashok_nitc
  • ashok_nitc's Avatar
  • Offline
  • Frequent Member
  • Posts: 64
  • Karma: 0
nice to know it!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.090 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup