su - username
[jan3@Myran ~]$ su jan
Lösenord:
[jan@Myran jan3]$ exit
exit
[jan3@Myran ~]$
[root@Myran ~]# su jan
[jan@Myran root]$ cd /home
[jan@Myran home]$ ls
------------------------
[root@Myran ~]# su jan2
[jan2@Myran root]$ cd /home
[jan2@Myran home]$ ls -l
totalt 28
drwxr-x--x 32 jan jan 4096 maj 7 17:16 jan/
drwxr-x--x 36 jan2 jan2 4096 maj 7 17:17 jan2/
drwxr-x--- 29 jan3 jan3 4096 maj 7 17:17 jan3/
drwx------ 2 root root 16384 mar 26 10:05 lost+found/
[jan2@Myran home]$ cd jan2
[jan2@Myran ~]$ ls -l
totalt 60
drwxrwxr-x 3 jan2 jan2 4096 apr 22 09:02 Backup/
drwxr-xr-x 2 jan2 jan2 4096 maj 3 12:16 Bilder/
drwxrwxr-x 2 jan2 jan2 4096 apr 23 14:30 Desktop/
drwxr-xr-x 5 jan2 jan2 4096 apr 17 04:11 Development/
drwxr-xr-x 2 jan2 jan2 4096 maj 1 06:02 Dokument/
drwxr-xr-x 4 jan2 jan2 4096 maj 5 15:06 Hämtningar/
drwxr-xr-x 2 jan2 jan2 4096 mar 27 05:32 Mallar/
drwxr-xr-x 2 jan2 jan2 4096 mar 27 05:32 Musik/
drwxrwxr-x 4 jan2 jan2 4096 apr 17 02:57 Notebooks/
drwxrwxr-x 2 jan2 jan2 4096 apr 23 07:43 Program/
drwxr-xr-x 3 jan2 jan2 4096 maj 1 11:36 Raspberry/
drwxr-xr-x 2 jan2 jan2 4096 maj 3 14:16 Script/
drwx--x--x 2 jan2 jan2 4096 feb 11 2020 tmp/
drwxr-xr-x 2 jan2 jan2 4096 mar 27 05:32 Video/
drwxr-xr-x 6 jan2 jan2 4096 apr 29 09:28 'VirtualBox VMs'/
[jan2@Myran ~]$
janpihlgren wrote:Than the same thing happends again and I have to make a new user agan. The reason is that I will not run as root.
journalctl -ab > /tmp/journal.log
Could you rephrase that please? I still don't know what that is supposed to mean.janpihlgren wrote:First "run as root" I aim at "working when loged in as root"
janpihlgren wrote:
First "run as root" I aim at "working when loged in as root"
Could you rephrase that please? I still don't know what that is supposed to mean.
doktor5000 wrote:Can you login normally as any of the other 2 users, jan2 and jan3?
mv /home/jan/.config /home/jan/.config-old
ps auxwww
pstree -aplt
lsof
janpihlgren wrote:the third file, lsof.log, will not attach, I supose its to large, 21.3 MByte
doktor5000 wrote:Apart from that, it looks like you ran the command within a normally running KDE session, with firefox, thunderbird running already.
That doesn't look like the session that hangs up during login.
Users browsing this forum: Google [Bot] and 1 guest