LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2013, 11:28 PM   #1
patso
LQ Newbie
 
Registered: Oct 2013
Posts: 1

Rep: Reputation: Disabled
administrator


i'm the sole user for this pc how do i log in as root, i have try to log in as root followed bye the password provided on installation. Debian is the OS.
i want to extract software into a protected folder.
 
Old 10-14-2013, 11:42 PM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
You cannot directory login as root user, so instead of directly login as root, use sudo:
Code:
~$ sudo <command>
Or add your user to /etc/sudoers to get root privileges.
 
Old 10-14-2013, 11:58 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Debian (as opposed to Ubuntu) will allow direct root logins (I don't think sudo is installed by default even). However, it is a bad idea to log into a GUI as root. Insteas, open a terminal window and type:

Code:
su -
followed by the root password.
 
Old 10-14-2013, 11:59 PM   #4
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: OpenBSD
Posts: 1,644
Blog Entries: 8

Rep: Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577
To perform administrative tasks, open a terminal and enter
Code:
su
followed by the root password. You will then have root permission to do what needs to be done. When finished, log out with
Code:
exit
Quote:
i want to extract software into a protected folder
I am not sure what you mean. Extract from or move/copy to.

Oops. btmiller beat me by a few seconds.

Last edited by Randicus Draco Albus; 10-15-2013 at 12:00 AM.
 
Old 10-15-2013, 07:53 AM   #5
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia 3, Debian Wheezy, Maemo, Linux Mint 14.
Posts: 200

Rep: Reputation: Disabled
Randicus. He probably wants to copy some content into a folder owned by root, but he cannot do it as user.

OP. Remember to make the folder rights 700 for that if you want others to be unable to read it. "chmod 700 folder"
 
Old 10-15-2013, 08:43 AM   #6
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: OpenBSD
Posts: 1,644
Blog Entries: 8

Rep: Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577Reputation: 577
Probably, but I do not want to assume anything. Clarification would be helpful. Avoids giving erroneous advice.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
You must be a good system administrator before being a network administrator. mohajuice Linux - Certification 5 01-03-2013 01:46 PM
why im not administrator thatgirl Linux - Newbie 3 12-28-2007 09:01 PM
Administrator Megos Linux - Newbie 12 06-12-2007 12:55 AM
XP Administrator anoosh General 1 05-17-2006 04:31 AM
administrator help debdas Linux - Newbie 4 05-15-2003 05:00 AM


All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration