Login as root
I'm new to all this... I am trying to install hpijs from hp for my printer.
I have done the make command ok and now need to do a make install but to do this I need to login as root to have permissions to make the change.
can anyone let me know how to login as root from the shell.
Simple, I hope
When you installed, you were probably asked to establish a password for the root user. If you are not sure, then you probably used the same password that you have established for your primary user.
I'm not sure what linux distribution you are using, but you cam probably log out. When you do that, log back in using:
password: your password
If this does not work, then I'm not sure what to do.
To change from a normal user to root in a shell you execute the command
With su you can switch to any user if you can the password for the specific user.
That did the trick thanks andutt
Your Welcome.... Note that when you are using the "-" sign you are getting the users enivronmentvariables that you are suing to. Like PATH, which is good if you are suing to root, otherwhise you cant find certain command without specifie the whole path to the command.