LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   su wont work, cant "su root" as a normal user (http://www.linuxquestions.org/questions/linux-general-1/su-wont-work-cant-su-root-as-a-normal-user-33018/)

lukeorun 10-17-2002 04:58 AM

su wont work, cant "su root" as a normal user
 
//lukeorun@luke:~$ su root
//Password:
//su: Authentication failure
//Sorry.

i used to be ably to do this when i ssh:a to my computer but now it wont work.

i did a huge misstake a couple of days ago, and change ownerships of some files when i was root, after that the normal user cant use the command "su"

lukeorun 10-17-2002 05:01 AM

i have tried to restore ownership of my files but it still wont work

rverlander 10-17-2002 05:27 AM

Use sudo!

lukeorun 10-17-2002 05:35 AM

i dont have it, i run linux debian, command not found

rverlander 10-17-2002 08:24 AM

Compile it or install the package.

rverlander 10-17-2002 08:25 AM

http://packages.debian.org/stable/admin/sudo.html
load that
then to run command as root either add yourself to /etc/sudoers or type:

sudo commandtorunasroot


All times are GMT -5. The time now is 12:44 AM.