Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> superuser
Grey
post Aug 16 2006, 03:32 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 8
Joined: 30-July 06
Member No.: 6,870



when i excute some commands like dpkg. it says that requested operation requires superuser privilege. What should i do?
Go to the top of the page
 
+Quote Post
Jim
post Aug 16 2006, 11:18 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



There are two things you can do.

To run a single command as super user add sudo before the command. Say like sudo dpkg This will run that command a super user then return you to a user prompt.

The other options is to run su and you will be come super user till you type exit. So you would run su type in your password, then run dpkg and what ever else you need, then exit and you will be back at a user prompt.


I like easy quesitons :-)


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
Grey
post Aug 17 2006, 06:38 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 8
Joined: 30-July 06
Member No.: 6,870



thx

but um i dont know my password blink.gif is there a way to check?
Go to the top of the page
 
+Quote Post
michaelk
post Aug 17 2006, 09:06 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



What distribution / version of linux are you running? Ubuntu, debian?

In Ubuntu unless you specifically created a password for root just use the sudo command.

You can not recover a password in linux, it can only be changed.
Go to the top of the page
 
+Quote Post
Jim
post Aug 17 2006, 12:41 PM
Post #5


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



You can also use sudo su to achive the same effect as su, but using your user password.

Sorry I didn't make that clear, when running sudo [command] you put in your user password, when running su you put in the root password.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 03:36 PM