Szerző: Peter Olson Dátum: Címzett: dng, R. W. Rodolico Tárgy: Re: [DNG] sudo or su?
> On May 22, 2016 at 4:49 PM "R. W. Rodolico" <rodo@???> wrote: >
> The big thing for me about Ubuntu, etc... is not the fact they use sudo
> a lot, it is that by default they do not allow root login at all. If the
> /home partition has problems, you must login as a user, then sudo to
> root, then attempt to dismount /home and work on it, which will not work
> since /home has files open (since you logged in as a user with a home
> directory in /home). So, I have to boot off some other media to do
> repair work on /home (or fix the login)
>
> sudo vs su is an interesting decision to make, but not allowing root
> login is a matter of too much security to get your job done.
Or you can sudo, edit /etc/passwd to change your login directory temporarily
to something not in /home, logout, and log back in using the temporary
directory.