Superuser
Hi
How can I give my normal user login superuser permissions? Another quick one: What I did last night was logging into to root with su and chmod 777 -R /usr/themes but accidentally entered chmod 777 -R / now I get an error when using su "Cannot create group, permission denied" how can I fix this? |
Re: Superuser
Quote:
Code:
sudo [application name] |
Well there is an easier way although I am not too sure abuot the permissions:
When you typed in: chmod 777 -R / Type: chmod 700 / (<--I'm not sure what the root perm's are sorry) You should now type in: chmod 777 -R /usr/themes It should undo your last command and accomplish what you are trying to do. --Abid Kazmi |
reinstall;)
|
BTW, that typo you gave is exactly why you shouldn't make your normal user a superuser. One little typo can hose your system as the superuser, but not as a normal user (you can still, of course, hose your data). As others have suggested, use sudo to gain root priviliges. As for your problem, if you're using a distro with a package manager that track permissions, you can "fix" the perms to everything by basically reinstallinmg all the RPMs. An easy way to do this is to use your boot CD and do an upgrade, which willreinstall all the RPMs. You may still lose some customizations though.
|
thanx to all,
ill be sure try everything. |
Yes, and post what works and what doesn't.
Thanks, --Abid Kazmi |
I login as root and have never jacked up my system. I dunno if this will work for you, but you could try it, I guess. Sorry if this doesn't help.
sincerely, slackwarebilly ><> :( |
All times are GMT -5. The time now is 02:06 PM. |