Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

(Solved) I can't login as root !!

Report Bugs, Issues and non- package Requests
skidoo
Forum Guide
Forum Guide
Posts: 1446
Joined: Tue Sep 22, 2015 6:56 pm

Re: I can't login as root !!

#11

Post by skidoo » Thu Jan 31, 2019 2:42 am

What does this mean? I cannot make any sense of it.
unsure whether zagreb999 is bled's moniker at puppy forum (similar, terse, strained English writing style), but I reckon the point was: "if ya wanna login as root, here's a nice//recommended puppy for ya to check out"

.
We don't know whether the OP is just (now) attempting to login as root in order to troubleshoot/fix an existing problem, or has been habitually logging into desktop session as root user (and clicking "stuff" exposed by the various MX Tools, which have been designed//tested for sudo usage, eh)

Image

fanisatt
Forum Novice
Forum  Novice
Posts: 49
Joined: Sun Dec 24, 2017 8:29 am

Re: I can't login as root !!

#12

Post by fanisatt » Thu Jan 31, 2019 9:54 am

Thanks for all your replies to the moment.
It is not "only" a root login problem ! Only one user can login to his account !!!
It's the account I use mostly .
I remember that , I could login as root or as another user before the update from mx 17 to mx 18.
Perhaps , something happened here....

User avatar
Buck Fankers
Forum Regular
Forum Regular
Posts: 403
Joined: Sat Mar 10, 2018 9:06 pm

Re: I can't login as root !!

#13

Post by Buck Fankers » Thu Jan 31, 2019 10:55 am

fanisatt wrote:
Thu Jan 31, 2019 9:54 am
It is not "only" a root login problem ! Only one user can login to his account !!!
It's the account I use mostly .
Probably not related, but I had a similar problem in another distro. I could only log in with my testing account I created once. The reason for a problem was, I tried to remove ZHS (or is it ZSH?) to start using Bash again and I messed up something. Fix for me was restoring to the previous state with clonezilla. Probably not useful in this case, but though to mention this for just in case.

male

Re: I can't login as root !!

#14

Post by male » Thu Jan 31, 2019 11:12 am

fanisatt wrote:Thanks for all your replies to the moment.
It is not "only" a root login problem ! Only one user can login to his account !!!
It's the account I use mostly .
I remember that , I could login as root or as another user before the update from mx 17 to mx 18.
Perhaps , something happened here....
Can you please show the output of the terminal command:

Code: Select all

cat /etc/passwd
Thanks!

fanisatt
Forum Novice
Forum  Novice
Posts: 49
Joined: Sun Dec 24, 2017 8:29 am

Re: I can't login as root !!

#15

Post by fanisatt » Thu Jan 31, 2019 1:22 pm

@male
(fanisatt is my account - working good , malakas is the second user account - can't login there)
Thanks !

This is the output :
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
systemd-timesync:x:100:102:systemd Time Synchronization,,,:/run/systemd:/bin/false
systemd-network:x:101:103:systemd Network Management,,,:/run/systemd/netif:/bin/false
systemd-resolve:x:102:104:systemd Resolver,,,:/run/systemd/resolve:/bin/false
systemd-bus-proxy:x:103:105:systemd Bus Proxy,,,:/run/systemd:/bin/false
_apt:x:104:65534::/nonexistent:/bin/false
usbmux:x:105:46:usbmux daemon,,,:/var/lib/usbmux:/bin/false
ntp:x:106:110::/home/ntp:/bin/false
messagebus:x:107:112::/var/run/dbus:/bin/false
statd:x:108:65534::/var/lib/nfs:/bin/false
nm-openconnect:x:109:117:NetworkManager OpenConnect plugin,,,:/var/lib/NetworkManager:/bin/false
nm-openvpn:x:110:118:NetworkManager OpenVPN,,,:/var/lib/openvpn/chroot:/bin/false
avahi:x:111:120:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
colord:x:112:121:colord colour management daemon,,,:/var/lib/colord:/bin/false
saned:x:113:123::/var/lib/saned:/bin/false
pulse:x:114:124:PulseAudio daemon,,,:/var/run/pulse:/bin/false
lightdm:x:115:126:Light Display Manager:/var/lib/lightdm:/bin/false
hplip:x:116:7:HPLIP system user,,,:/var/run/hplip:/bin/false
fanisatt:x:1000:1000:fanisatt,,,:/home/fanisatt:/bin/bash
debian-deluged:x:117:127::/var/lib/deluged:/bin/false
festival:x:118:29::/home/festival:/bin/false
ftp:x:119:129:ftp daemon,,,:/srv/ftp:/bin/false
sshd:x:120:65534::/run/sshd:/usr/sbin/nologin
malakas:x:1001:1001:malakas,,,:/home/malakas:/bin/bash

fanisatt
Forum Novice
Forum  Novice
Posts: 49
Joined: Sun Dec 24, 2017 8:29 am

Re: I can't login as root !!

#16

Post by fanisatt » Thu Jan 31, 2019 1:24 pm

@Buck Fankers
Thanks for your reply !!

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 10057
Joined: Wed Jul 12, 2006 1:42 am

Re: I can't login as root !!

#17

Post by Adrian » Thu Jan 31, 2019 1:27 pm

You can use [code][/code] tags to make sure that the text you paste show up correctly... that being said, I don't see anything wrong with that.

User avatar
baldyeti
Forum Regular
Forum Regular
Posts: 210
Joined: Sat Dec 05, 2009 4:37 pm

Re: I can't login as root !!

#18

Post by baldyeti » Thu Jan 31, 2019 1:53 pm

Could you perhaps just check that root's home directory still exists:

Code: Select all

ls -lad /root/

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 12136
Joined: Sun Dec 16, 2007 1:17 pm

Re: I can't login as root !!

#19

Post by dolphin_oracle » Thu Jan 31, 2019 1:58 pm

baldyeti wrote:
Thu Jan 31, 2019 1:53 pm
Could you perhaps just check that root's home directory still exists:

Code: Select all

ls -lad /root/
not to mention the new user's home folder. depending on how you made the user, a new user directory might not exist. which would prevent X from starting, but you could probably still login from the console I would think. you can do the same command on /home

Code: Select all

ls -lad /home
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18.3
lenovo s21e - antiX-19 beta 2 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

fanisatt
Forum Novice
Forum  Novice
Posts: 49
Joined: Sun Dec 24, 2017 8:29 am

Re: I can't login as root !!

#20

Post by fanisatt » Fri Feb 01, 2019 3:09 pm

Thank you all for your interest.
The root directory was ok and the other user's directory was ok too , I could see the files with thunar (as root) but the accounts were locked !!!
I don't care anymore (to the moment...) because I have already installed MX-18 . Anyway I think that some things about this issue have to be examined more carefully by the MX team.
There are a lot of nice tools here but .... the root and one user's accounts were locked by the system, rather unreasonably and no tool could solve this unjustifiable situation.
Best Regards.
(Solved)

Post Reply

Return to “Bugs and Non-Package Requests Forum”