Hot Downloads

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Im tired of root

Im tired of root 11 years 4 months ago #20027

  • Lindows
  • Lindows's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 246
  • Thank you received: 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"

Re: Im tired of root 11 years 4 months ago #20219

  • nske
  • nske's Avatar
  • Offline
  • Expert Member
  • Expert Member
  • Posts: 613
  • Thank you received: 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.

Re: Im tired of root 11 years 4 months ago #20306

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

Re: Im tired of root 11 years 4 months ago #20316

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,

Re: Im tired of root 11 years 3 months ago #20490

you can create the username and give it UID 0.

Re: Im tired of root 11 years 3 months ago #20502

nice to know it!
  • Page:
  • 1
  • 2
Time to create page: 0.147 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