how can i change the root name
:newbie:
how can i change the root name so that i login with something else than root ????? (i.e. i have another user name ) and how can i know the packages needed to run a certain service ??!! :newbie: :Pengy: |
edit the /etc/passwd file
it is really a very bad idea to change root name:rolleyes: |
http://www.linuxquestions.org/questi...root+obscurity
please use the search facilities on this site more readily, they will frequently get you a quicker answer. the answer being... DO NOT CHANGE IT! |
|
it would be a better idesa to make a diff user in the group root
whether u can rename root i do not think u can do it |
You can that's not a problem, the problem is you shouldn't. And no, you shouldn't make another user in group root either, that's nearly as bad of an idea as changing root's name. If you want to login with a username, create a user. If you are frustrated because that user cannot do everything root can, realize how secure you are now.
Cool |
i gues he might be influenced by the windoze operating systems and wished to change it to Administrator or something like that :) just kiddin' ;)
|
I read somewhere that having another root user is a good idea, since if you use that user and you see something running as 'root' then you can almost be sure it's a hacking attempt. Any truth to that?
|
enter vipw at the terminal and change the /etc/passwd /etc/shadow as root.
Happy camping! |
Quote:
w Or who And you can see who you are: whoami However, if this is a non-production machine, non-networked and you are just "learning" on it, then that's a good way to "learn". Breaking things always teaches you exactly what not to do ;) Cool |
Quote:
|
I learned the hard way on a Tomsrtbt Linux disk that it was a bad idea to change the root password by editing the files. It knocked the Root completely out and I had to make another disk. I suggest you heed these warnings or you will likely find Linux unuseable to you (IE you will be locked out).
|
cruisty made me try and i was locked....... ;)
|
i want to know,how to give passwords (as root)to new users created by the root using useradd, how to use the option useradd -p.
arun |
Um, you just use it...
useradd -g 501 -G wheel,xcdroast,mysql -p password username I'm not sure what else you really need to know? You can change the users password with root with: bash#: passwd username And it will prompt you for a new password for the user. Cool |
All times are GMT -5. The time now is 04:55 PM. |