Re: graphical display management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thursday 27 Mar 2014 16:45:35 message wrote:
> On 2014-03-25 15:59, arch-general-request@xxxxxxxxxxxxx wrote:
> > 
----------------------------------------------------------------------
> > 
> > Message: 1
> > Date: Mon, 24 Mar 2014 22:49:06 +0100
> > From: Jakub Klinkovsk? <j.l.k@xxxxxxx>
> > Subject: Re: [arch-general] graphical display management
> > 
> >> Interestingly, 'su a' results in the cursor 'pwd' to be the root home
> >> directory and not '/home/a'.
> > 
> > This is the expected behaviour. Just run the command 'cd', without
> > arguments it
> > will get you into the home directory, which should be '/home/a'. Or run
> > 'su -l a'.
> 
> I would have expected the home directory for 'root' _not_ to be
> accessible to other users.

By "root home directory", do you mean "/" or "/root"? You are correct that "/root" should only 
be accessible by root. If the "pwd" command returns "/root" and "whoami" command does not 
return "root", then there's something wrong with your directory permissions.

Paul


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux