Results 1 to 5 of 5
Hi,
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 ...
- 08-26-2003 #1Just Joined!
- Join Date
- Aug 2003
- Posts
- 6
Login as root
Hi,
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.
thanks delarmi
- 08-26-2003 #2Just Joined!
- Join Date
- Aug 2003
- Posts
- 56
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:
username: root
password: your password
If this does not work, then I'm not sure what to do.
Good luck!
-------------------------------S
- 08-26-2003 #3Linux Engineer
- Join Date
- Apr 2003
- Location
- Sweden
- Posts
- 796
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.Code:su - root or su -
Regards
Andutt
- 08-27-2003 #4Just Joined!
- Join Date
- Aug 2003
- Posts
- 6
That did the trick thanks andutt
- 08-28-2003 #5Linux Engineer
- Join Date
- Apr 2003
- Location
- Sweden
- Posts
- 796
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.
Regards
Andutt


Reply With Quote
