Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-03-2003, 01:20 AM   #1
LQ Newbie
Registered: Jul 2003
Location: Sweden
Posts: 23

Rep: Reputation: 15
Basic commands in Mandrake/Linux

I want to logging as the root user so i have fully acces to all folders and files. How can i do that? When i start Mandrake i only got my one created user and that user is apparently not the root user..

How can I as I am working in a consol. delete files and folders??

Where can i go and get programs for my Linux system. I finally got my ADSL connection to work
Old 08-03-2003, 01:33 AM   #2
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
in console type
su -
then your root password to become root.
deleting files:
rm filename
delete folders:
rm -r foldername
you can also use -f option with those 2 commands to force the execution. About downloading the software, you go to the site of the software u want.
Old 08-03-2003, 01:59 AM   #3
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
Here, you may find this helpful:
Old 08-03-2003, 03:40 AM   #4
Registered: Jul 2003
Location: Germany
Distribution: Xubuntu, Ubuntu
Posts: 416
Blog Entries: 14

Rep: Reputation: 35
You should not login as root and use a Window manager system - therefore Mandrake doesn't give you the option to log into the GUI as root. If you don't set a root password, GUI tools which need root access will automatically attain root status - if you did set a password (recommended) you will be asked to enter the password first. This way you always know when you are going into root status (for example when you open the Mandrake Control Center).

Apart from the su command which has already been mentioned you can choose terminals from the start menu, either a normal one (as the user you are at the moment) or in 'system administration mode' (note that I am translating from a German version here, the option might be called something similar) which will also ask for the root password and give you root status.

If you are on a console anyway you can always logout and enter 'root' at login and then the appropriate password. You can also switch between different terminals using Alt + F1 ... F7 with the last one being the GUI (to leave the GUI for a console you need to press Ctrl + Alt + F1 ... F6 - your window session will not be affected).



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
Linux Basic Commands rahimzai Red Hat 5 09-30-2005 05:22 AM
Basic linux commands OtisLinux Linux - Software 6 03-03-2004 06:30 PM
basic linux commands... search? Mytherall Linux - Newbie 1 02-23-2004 06:52 AM
where can i learn basic linux commands rybing Linux - Newbie 7 12-19-2003 02:13 AM
Where can I use some basic networking commands in linux? OrganicX Linux - Networking 9 12-17-2002 09:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 PM.

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