Results 1 to 9 of 9

Thread: How Do I Add a New User?

  1. #1
    Member registered user
    Join Date
    Oct 2004
    Location
    Virginia, USA
    Posts
    65

    How Do I Add a New User?

    Something happened on my 3.6 hard drive setup. My user's password no longer works. Before that happened I was having all kinds of problems with apps not working. I would like to just add a new user. I can log on as root no problem. How do I add a user with "power-user" rights as in Windows?

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510

  3. #3
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    You can add a new user in Knoppix with Kuser. It's under the 'Systems' menu item.

  4. #4
    Member registered user
    Join Date
    Oct 2004
    Location
    Virginia, USA
    Posts
    65
    As a test, I modified the sudoers file (using visudo) giving a user the same rights as root - and I can open it and see my changes took, but yet when I am logged in as the user I still get prompted for the root password whenever I want to do anything the root can do.

  5. #5
    Member registered user
    Join Date
    Oct 2004
    Posts
    36
    Quote Originally Posted by jMon54
    As a test, I modified the sudoers file (using visudo) giving a user the same rights as root - and I can open it and see my changes took, but yet when I am logged in as the user I still get prompted for the root password whenever I want to do anything the root can do.
    Are you using the 'sudo' command?

  6. #6
    Member registered user
    Join Date
    Oct 2004
    Location
    Virginia, USA
    Posts
    65
    jMon54 wrote:
    As a test, I modified the sudoers file (using visudo) giving a user the same rights as root - and I can open it and see my changes took, but yet when I am logged in as the user I still get prompted for the root password whenever I want to do anything the root can do.

    Are you using the 'sudo' command?
    I'm not sure what you mean...

    Here's what I did: I opened the console, typed 'visudo', then opened the sudoers file in an editor and made my changes. If I look at the file, the changes are indeed there.

  7. #7
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Post the /etc/sudoers file and give an example of what your trying to do with the sudo command (syntax).

  8. #8
    Member registered user
    Join Date
    Oct 2004
    Location
    Virginia, USA
    Posts
    65
    Post the /etc/sudoers file and give an example of what your trying to do with the sudo command (syntax).
    from knoppix root I:

    visudo

    then i open the sudoers file with kwrite, edit and save

    here's the file:
    # sudoers file.
    #
    # This file MUST be edited with the "visudo" command as root.
    #
    # See the man page for details on how to write a sudoers file.
    #

    # Host alias specification

    # User alias specification

    # Cmnd alias specification

    # User privilege specification
    root ALL=(ALL) ALL
    jMon ALL=(ALL) ALL
    # KNOPPIX WARNING: This allows the unprivileged knoppix user to start commands as root
    # KNOPPIX WARNING: This is totally insecure and (almost) makes knoppix a second root account.
    # KNOPPIX WARNING: Never allow external access to the knoppix user!!!
    #knoppix ALL=NOPASSWD: ALL

  9. #9
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    Looks ok but how are you using sudo. Being in sudoers means you can do rooty stuff by adding sudo in front of the command.
    Example: sudo nano /etc/lilo.conf

    BTW, If you want sudo to work without a password you need to use: jMon ALL=NOPASSWD: ALL but take note of the warnings in the sudoers file.

Similar Threads

  1. Windows user now... Linux user tommorow?
    By zspecfenix17 in forum The Lounge
    Replies: 7
    Last Post: 03-10-2005, 05:58 PM
  2. Make new user with same configs as current user?
    By SunnyB in forum General Support
    Replies: 4
    Last Post: 03-09-2004, 02:02 PM
  3. Added Another User but New user Cannot WebBrowse
    By bongski55 in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 09-04-2003, 05:47 AM
  4. How to set new user to be like default Knoppix user?
    By bongski55 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 07-18-2003, 12:22 PM
  5. Knoppix User password for "Knoppix" user
    By CyberBug84 in forum General Support
    Replies: 1
    Last Post: 01-02-2003, 09:14 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
  •  


Genuine OEM Apple MagSafe 2 45W AC Adapter Charger for Macbook Air 2015 11

Genuine OEM Apple MagSafe 2 45W AC Adapter Charger for Macbook Air 2015 11" 13"

$14.24



OEM Apple Data Migration Toolkit for A1706 A1707 MacBook Pro PN 076-00236 picture

OEM Apple Data Migration Toolkit for A1706 A1707 MacBook Pro PN 076-00236

$549.99



Genuine Apple Power Adapter Extension Cable 6FT White OEM MacBook MK122LL/A picture

Genuine Apple Power Adapter Extension Cable 6FT White OEM MacBook MK122LL/A

$10.99



Genuine Apple OEM A2164 30W USB-C AC Power Adapter with USB-C Cable, Very Good picture

Genuine Apple OEM A2164 30W USB-C AC Power Adapter with USB-C Cable, Very Good

$21.05



OEM 45w T-Tip Power Adapter charger for Apple macbook air 2012-2017 A1436 A1466 picture

OEM 45w T-Tip Power Adapter charger for Apple macbook air 2012-2017 A1436 A1466

$19.99



Apple 40W Dynamic Power Adapter 60W Max for iPhone/iPad/AirPods/MacBooks OEM picture

Apple 40W Dynamic Power Adapter 60W Max for iPhone/iPad/AirPods/MacBooks OEM

$17.99



OEM Apple 45W A1436 Power Charger AC Adapter for MacBook Air MagSafe 2 picture

OEM Apple 45W A1436 Power Charger AC Adapter for MacBook Air MagSafe 2

$12.99



OEM 45W Charger For Apple MacBook Air 11-inch 13-inch Early 2012 2013 2014 2015 picture

OEM 45W Charger For Apple MacBook Air 11-inch 13-inch Early 2012 2013 2014 2015

$26.98



apple oem cube 5w charger  picture

apple oem cube 5w charger

$6.99



Lot of 100 OEM Apple Magsafe 2 45W AC Adapter A1436 with Power Cable - Grade D picture

Lot of 100 OEM Apple Magsafe 2 45W AC Adapter A1436 with Power Cable - Grade D

$339.99