LinuxQuestions.org
Visit Jeremy's Blog.
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, 10: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, 10: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, 10:58 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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, 10:59 PM   #4
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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-14-2013 at 11:00 PM.
 
Old 10-15-2013, 06:53 AM   #5
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,824
Blog Entries: 17

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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, 07:43 AM   #6
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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 12:46 PM
why im not administrator thatgirl Linux - Newbie 3 12-28-2007 08:01 PM
Administrator Megos Linux - Newbie 12 06-11-2007 11:55 PM
XP Administrator anoosh General 1 05-17-2006 03:31 AM
administrator help debdas Linux - Newbie 4 05-15-2003 04:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:11 AM.

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
Open Source Consulting | Domain Registration