-
Senior Member
registered user
spacedude89,
Your question is "kinda" what everyone is getting un-nerved about, it deals with getting "root access", thus, it is like "root password" subjects...
First, are you running off the Live CD, or have you hard drive installed?
Depending on your above answer, here is your answers:
Live CD
You realizes that root doesnt have a password, and thus, making any changes to the OS will not be maintained during a reboot - i.e. your directory / folder you create, wont exist after you reboot, right ?
If you are running the Live CD, there is no root password, to get root, you use the su or the sudo commands in a users Konsole screen. To get what you want to do with the Live CD, you would do the following:
( 1 ) Start a regular user Konsole, text, and is "like" a DOS screen in Windows.
( 2 ) Type one of the following:
su
mkdir somedirectory
or
sudo mkdir somedirectory
replacing "somedirectory" with the path / and folder you want to create, like this... if you wanted to create a folder under /usr named scrappy - then the two above examples would look like this:
su
mkdir /usr/scrappy
exit
or
sudo mkdir /usr/scrappy
Now, if you hard drive installed, things change a little bit, considering that "during a hard drive install", you create a root user account, and create its own password ( it is part of the install )
Hard Drive Installed
To get what you want, you dont have to log out, and re-login as a root, you can do the same thing mentioned in the Live CD above, as you can if you did a hard drive install, the only differance is, that, you DO have a root password in a hard drive install, and thus, may be required to enter that password in doing some commands.
One of the big things that newbies to this whole "root / user" thing in Linux, and in Knoppix, is, that people think they have to BE root all the time, or have to LOGIN specifically as root, to do things... As you learn about Linux, you begin to realize its not so much BEING root all the time, but, rather, being ABLE to be root when you NEED IT ( which is not ALWAYS, and being root ALWAYS is a security risk ) -=- So, you get root when you NEED IT, and drop being root, when you DONT need it...
So, if you have a hard drive install, and want to create a folder, follow the same examples as I displayed in the Live CD area above, except, this MAY BE what you will see doing them:
su
please enter password: (enter root password)
mkdir /usr/scrappy
exit
or
sudo mkdir /usr/scrappy
please enter password: (enter root password)
Again, its not the fact that you have to login as root specifically, you dont have to, you can get root, anytime you want it, or need it, as long as you have the root password, or are "permitted" to becoming root - the "knoppix" user ( on the Live CD boot ) is permitted to becoming root, because it is in the sudo users file, if you hard drive install Knoppix, you can add other users to this file, and allow them to be root, if they want to, but, as the file will tell you, you dont want EVERYONE to have this ability, it can turn into a serious security risk...
Hopefully, this helps,
Ms. Cuddles
Similar Threads
-
By Wavform in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 05-19-2005, 03:44 AM
-
By NewGuy in forum MS Windows & New to Linux
Replies: 1
Last Post: 12-25-2004, 02:59 AM
-
By rrfish72 in forum General Support
Replies: 6
Last Post: 09-17-2004, 08:15 PM
-
By zuzo in forum General Support
Replies: 6
Last Post: 12-21-2003, 05:19 PM
-
By fingers99 in forum Hdd Install / Debian / Apt
Replies: 8
Last Post: 08-11-2003, 07:32 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

Cisco Meraki MA-SFP-1GB-SX Network Tranceiver Module
$89.00

HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001
$14.90

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver
$1500.00

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$33.94

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Lot of 2 For Cisco SFP-10G-X Transceiver, 10Gb SFP+ RJ45 10GBase-T 30m
$73.99