Results 1 to 8 of 8

Thread: login as root? how?

  1. #1
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    22

    login as root? how?

    I must change a file to let my scanner work in Knoppix.

    But when I want to save this file , I don't have write permissions. I only can do that as "root".

    I already created a password for "Root" , but how can I login as root?

  2. #2
    Junior Member
    Join Date
    Oct 2003
    Posts
    2

    Re: login as root? how?

    try sudo su on a console.

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    100

    Re: login as root? how?

    Quote Originally Posted by Mogiin
    I must change a file to let my scanner work in Knoppix.

    But when I want to save this file , I don't have write permissions. I only can do that as "root".

    I already created a password for "Root" , but how can I login as root?
    Well I gurss you know about su and sudo on knoppix live cd to go from $ to #.You say you created the passwd already if so then to login type :
    #login root <then passwd when asked>
    #login user <then passwd when asked>
    $su <passwd when asked>
    $login <name and passwd when asked>
    #login <name and passwd when asked>

    Get the idea?

  4. #4
    Junior Member registered user
    Join Date
    Oct 2003
    Posts
    26

    A nice little trick for you...

    Hey there;

    One of the nicer little tricks in Knoppix is "Run as a different user (GKsu)" You can find it under the K-menu > System > Run as a different user (GKsu).

    When it starts, you should type in kedit as the program to run, and make sure it is running as root (you'll see... pretty self-explanatory). From there, open the XXXX.conf file you're editing in the SANE directory and when you're done editing, just save it. Because this program is running as root, you will have the required root permissions.

    I find GKsu so useful, I have it's icon in my kicker.

    Good luck!

    Civ

  5. #5
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    22
    Thnx , I hope my scanner will work now

  6. #6
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    22
    Well it's still not working.

    I think I logged in as Root , but still can't modify the "hp.conf" file. No write permissions.

    Please help...

  7. #7
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    22
    I think I logged in as Root , but still can't modify the "hp.conf" file. No write permissions.
    chmod o+w hp.conf should make the file writeable for root.

    hw

  8. #8
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    22
    Thank you , I hope it will work now

Similar Threads

  1. Cannot login other than root, pls help
    By bsjawle in forum Hdd Install / Debian / Apt
    Replies: 15
    Last Post: 04-09-2005, 05:02 AM
  2. Login as ROOT
    By ackelley in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 01-12-2005, 11:52 PM
  3. How do root login
    By mienque in forum General Support
    Replies: 1
    Last Post: 05-29-2004, 06:15 AM
  4. Root login
    By Dark19 in forum General Support
    Replies: 1
    Last Post: 10-15-2003, 03:41 AM
  5. Login as root
    By 1st_time in forum General Support
    Replies: 4
    Last Post: 07-17-2003, 04:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Core i7-7800x CPU processor sr3nh 3.50ghz 6-Core 8.25mb lga-2066 X series picture

Intel Core i7-7800x CPU processor sr3nh 3.50ghz 6-Core 8.25mb lga-2066 X series

$57.31



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62 picture

Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62

$46.03



AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$79.00



Intel Core i5-13500 65w 14 core Raptor Lake Processor picture

Intel Core i5-13500 65w 14 core Raptor Lake Processor

$162.00



Intel Core i9-13900KF Unlocked Desktop Processor - 24 Cores (8P+16E) & 32 Thread picture

Intel Core i9-13900KF Unlocked Desktop Processor - 24 Cores (8P+16E) & 32 Thread

$539.99



AMD Ryzen 7 7700 Processor (5.3 GHz, 8 Cores, Socket AM5) No Box picture

AMD Ryzen 7 7700 Processor (5.3 GHz, 8 Cores, Socket AM5) No Box

$240.00



AMD Ryzen 5 4500 Processor (3.6 GHz, 6 Cores, Socket AM4) - 100-100000644BOX picture

AMD Ryzen 5 4500 Processor (3.6 GHz, 6 Cores, Socket AM4) - 100-100000644BOX

$69.99