login as root

Posted on 2006-05-18
Last Modified: 2013-11-22
hi all,

i have a small problem.

im using KDE with freebsd,

when im trying to login as root

i got you can't login as root,

so what can i do to login as root,

because i need to edit some config files and i can't without root

and thx.
Question by:hanagoku
    LVL 61

    Accepted Solution

    Open konsole
    type id
    if you see wheel group proceed:
    inside konsole type su - and enter password
    Now you are root user.

    If you do not see wheel group type
    Log into text console as root
    vi /etc/group
    type 2jA
    make that wheel line look like:
    now type Esc followed by :wq

    Type Ctrl-D to log off root session
    Now press printscreen key until you get back to your graphic screen
    Now log off session and log in back - now su command will work as expected.

    To undermine security measures imposed by default system settings you may edit /usr/local/share/config/kdm/kdmrc file to allow root logins directly.

    Author Comment

    thank you :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Suggested Solutions

    Title # Comments Views Activity
    How to improve IO of Solaris machine 15 57
    Host issue and need to move VM's 2 175
    check unix curl command return value 7 31
    MarkLogic 1 24
    Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now