Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: How about logging in as root as an F2 option

  1. #1
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    42.3° N 122.9° W
    Posts
    166

    How about logging in as root as an F2 option

    sudo is fine when you're in a terminal and so is the root terminal.

    However tryintg to drag and drop files into my other Linuix partiton, I keep getting a permissions error. I also got one trying to clicking on an Opera.deb package to start the dpkg install. It kept asking for the non existant root password. Trying to key in the exact path is not easy for us n00bs.

    It would be nice if you could start out as root and set your own password durring the F2 boot cheat codes option.

  2. #2
    Member registered user
    Join Date
    Feb 2003
    Posts
    61

    already easy?

    I may be wrong...
    but according to the samba FAQ all I had to do was ctrl-alt-F2 to get to root shell and then passwd to create a password. It worked for most setting-related things after it was set. Except for installing programs...

    I think there might be a problem with some settings/programs because they only exist on the compressed drive--you don't have the write access [you can't get it either] without moving everything to something writeable! I ran into that with a a .deb I tried to install. It couldn't write to the folders it expected--because they were burned on a CD--not read/write-able!

  3. #3
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    42.3° N 122.9° W
    Posts
    166
    I want full root so I can write, edit, drag and drop files on the HD of my other Linux installation in case I screwed up a config file so badly it won't boot. Doing it all from the console as su is a RPITA.

    Why crawl there when you could just drive the car.

  4. #4
    Member registered user
    Join Date
    Feb 2003
    Location
    Aachen, Europe
    Posts
    85

    IMHO not a good idea for a general Knoppix

    Salve audioaficionado,

    >I want full root ... Linux installation in case I screwed up

    Sorry, but I have the feeling you have to worked to long with M$.
    "full root" - nobody needs at the same time all rights to do everthing. What drag & drop may be faster - it makes sences to
    think first, and act than.

    AFAIK does Debian standard installation not allow to use X-Server
    as root.
    I'm quite new with GNU/Linx but I have understand that I have to
    learn and love the shell. Giving support to solve problems and
    find support is texed-based much easier

    IMHO would be such a CheatCode contraproductive - and dangerous,
    people would worked everytime as "full root" because they are to
    lasy to learn GNU/Linux.

    It is a good idea to speakout ideas, but as I tried to explain is this
    one in my eyes not an idea to make Knoppix better. Greetings
    rob

  5. #5
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    42.3° N 122.9° W
    Posts
    166
    You aren't getting my point. I want a way to be full root in Knoppix while in the rescue mode, not running in root all the time.

    Of course we have to learn Linux but we need powerful tools once in a while to extract ourselves from very deep holes that we can fall into. I want a tool that will let me into any file of another fubar linux installation on my computer to get it back in working order rather than blow it away and reinstall.

    I suppose in the wrong hands that could be dagerous as they could blow past security on other people's machines by simply rebooting the computer with a Knoppix CD and then becoming root.

  6. #6
    Member registered user
    Join Date
    Feb 2003
    Location
    Aachen, Europe
    Posts
    85
    Salve audioaficionado!

    >You aren't getting my point. I want a way to be full root in Knoppix
    >while in the rescue mode, not running in root all the time.

    I got your point, and that you like to have this feature can I
    understand, also I would not like to use it personal. But the
    question is, would it make Knoppix in average better, or would this
    feature miss-educate a lot of newbies and also produce trouble,
    becouse people did things they haven't understund, and lost
    data or productivity and say in the end - Knoppix = GNU/LINUX = trouble?

    >Of course we have to learn Linux but we need powerful tools once in a
    >while to extract ourselves from very deep holes that we can fall >into.

    You will not like my answer, but I would say, a person down't know
    to use the GNU/Linux tools can make his problems only bigger.
    Especaly for rescue tasks most commands haven't a "redo" or
    second chance.
    Before a Newbie will use KNOPPIX as rescue-tool, maybe also for
    M$-world-problems, he should know what he is doing.

    >I want a tool that will let me into any file of another fubar linux
    >installation on my computer to get it back in working order rather
    >than blow it away and reinstall.

    There is no tool like this - it is the admin who will get it back in
    working order. But what could go wrong?

    - Biggest problem, the bootloader is disconfigured
    But if you don't know how to use "lilo -C /tmp/mylilo.conf"
    you have no chance

    - Other idea the xserver is not running anymore
    Knoppix is no special help, but you can look what Knoppix is using

    - Data lost, you have made a backup & restore strategie before

    - wrong, missing packages and conflicts- try to use the orignal
    system.

    General it is extreame to manipulate one system with another.
    If you don't know what to change, you have no chance.

    OK, lets make an example, "/" is full, because of this, KDE will
    not start anymore. A graficaly system could be helpfull to delete
    unnesseccary files or make free space by tar unused files.
    IMHO if someone start to administrate his system this way, he
    will never learn the power of GNU/Linux.

    This brings us in disscussion, what is neccessary know to run
    GNU/LINUX and administrate it himself?

    BUT I see big differance of a Desktop System and a live-Linux
    for demo, educadional and testing reasons.

    Maybe some other in this forum join our disput and say ehat
    they think about if such a grafical-root-modus as CheatCode option
    at boot time.
    Our position should be clear enough.

    Friendly greetings
    rob

    PS: "disput" = fight for better solutions, not to harm persons

  7. #7
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    You can set a root password by using:

    sudo passwd root

    and entering a password for the root user.

    or

    If you want to use kde as root, you "should" be able to press <CTRL><ALT<F2> and then use the following command:

    startx -- :1

    Note: startx<SPACE>--<SPACE>:1
    startx space dash dash space colon one

    This will start up a second X session on a new virtual terminal, leaving your existing X session running (with knoppix from CD I would expect it to use vt6 (so <CTRL><ALT><F6> is your root virtual terminal and your normal vt is <CTRL><ALT><F5> -- on a hard drive install you will use F7 for the first vt and F8 for the second).

    or another possibility...

    if you want to use knoppix as a root rescue system, you could use knoppix 2 to starup in console mode and then at a root prompt use: startx and then you will have a root GUI environment.

    HTH

    rock

  8. #8
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    42.3° N 122.9° W
    Posts
    166
    Thanx RockMumbles,

    This is the info I need.


    Robert Michel, you are a linux purist and there's always a need for that. I'm learning Linux any way I can. I read the Linux for Dummies book and several online sources. However Linux on your HD is a whole differant animal than auto-detecting Koppix live CD Linux. I have installed Libernet/Debian Linux on my HD and it had all kinds of issues after it installed. I found out where grub was and how to edit the configuration files so now it dual boots to the windows boot loader. /etc/fstab was only letting me access the root partition and I didn't know how to fix it. I just booted into Knoppix and copied its fstab file over commented out and moved the rest of the partitions over and read the 'man mount' file to good effect. I did most of this while in Knoppix. I then created the mount point directories. It's all good so far.

    I now know about GRUB config and fstab config thanx to Knoppix and a lot of help from my on line friends.

  9. #9
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    42.3° N 122.9° W
    Posts
    166
    Quote Originally Posted by RockMumbles
    You can set a root password by using:

    sudo passwd root

    and entering a password for the root user.

    or

    If you want to use kde as root, you "should" be able to press <CTRL><ALT<F2> and then use the following command:

    startx -- :1

    Note: startx<SPACE>--<SPACE>:1
    startx space dash dash space colon one

    This will start up a second X session on a new virtual terminal, leaving your existing X session running (with knoppix from CD I would expect it to use vt6 (so <CTRL><ALT><F6> is your root virtual terminal and your normal vt is <CTRL><ALT><F5> -- on a hard drive install you will use F7 for the first vt and F8 for the second).

    or another possibility...

    if you want to use knoppix as a root rescue system, you could use knoppix 2 to starup in console mode and then at a root prompt use: startx and then you will have a root GUI environment.

    HTH

    rock

    I tried that
    Code:
    <ctrl><alt><F2>
    <startx -- :1> and it worked great

    I had trouble getting back to the Knoppix user screen though
    Code:
    <ctrl><alt><F5>
    . When I finally got the screen back by repeating the command several times using F5 F6 F7 F8 intil it switched. Then I kept getting errors. How long do you have to wait for the switch to occur? How do you shut down the root term without killing the Knoppix/KDE session?

  10. #10
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    You should be able to logout of the root session which will take you back to the console you used to start it and then you should be able to use <CTRL><ALT><F5> to get back. It seems to work best if you hold down CTRL and ALT and then press the function key, also you may want to try to move back to a console and then to your knoppix X session.

    I have been doing this on my (11-08) knoppix that I'm running on a computer in one of our chem labs at school.

    If you are running knoppix live and want it to stay running for a while I always boot into runlevel 2 then if you logout or crash kde etc. the system is still running, and you can start up kde again, etc., ie. you won't halt the system.

    rock

Page 1 of 2 12 LastLast

Similar Threads

  1. Option to enable root on knoppix-terminalserver
    By paulrbarnard in forum Ideas
    Replies: 1
    Last Post: 02-05-2005, 01:46 PM
  2. logging out
    By artikid in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 10-07-2004, 03:05 AM
  3. Logging off from bash
    By Salzi in forum General Support
    Replies: 1
    Last Post: 09-09-2004, 02:56 AM
  4. Issues logging in
    By MSTDLR in forum General Support
    Replies: 4
    Last Post: 04-26-2004, 02:08 AM
  5. Logging problems: only root!!
    By Bleim in forum General Support
    Replies: 0
    Last Post: 09-03-2003, 11:24 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
  •  


SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25 picture

SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25

$109.99



2TB 1TB TYPE-C OTG Stick 4 in 1 USB Memory Photo Stick Android Samsung Pen Drive picture

2TB 1TB TYPE-C OTG Stick 4 in 1 USB Memory Photo Stick Android Samsung Pen Drive

$27.45



**ZERO HOURS**-Seagate ST1000NX0313 Enterprise 1 TB 2.5

**ZERO HOURS**-Seagate ST1000NX0313 Enterprise 1 TB 2.5" HD 128mb Cache 7200rp

$65.00



Lot of 4 - Dell 1TB 7.2k 6G SATA 3.5in HDD HUS722T1TALA600 - 0HNWHH picture

Lot of 4 - Dell 1TB 7.2k 6G SATA 3.5in HDD HUS722T1TALA600 - 0HNWHH

$71.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ... picture

Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ...

$71.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.85



Kingston NV2 1TB M.2 2280 NVMe PCIe Internal SSD Up to 3500 MB/s SNV2S/1000G picture

Kingston NV2 1TB M.2 2280 NVMe PCIe Internal SSD Up to 3500 MB/s SNV2S/1000G

$60.99



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$773.19



Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot picture

Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot

$703.19