Re: [lfs-support] Problems with su when building LFS

2018-02-12 Thread Tim Tassonis
On 02/12/2018 07:31 PM, Pierre Labastie wrote: On 12/02/2018 18:54, Pierre Labastie wrote: On 11/02/2018 23:01, Tim Tassonis wrote: On 02/11/2018 10:37 PM, Bruce Dubbs wrote: Tim Tassonis wrote: I have found a workaround for my problem: If I replace mount -vt devpts devpts $LFS/dev/pts

Re: [lfs-support] Problems with su when building LFS

2018-02-12 Thread Pierre Labastie
On 12/02/2018 18:54, Pierre Labastie wrote: > On 11/02/2018 23:01, Tim Tassonis wrote: >> On 02/11/2018 10:37 PM, Bruce Dubbs wrote: >>> Tim Tassonis wrote: >>> I have found a workaround for my problem: If I replace mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620

Re: [lfs-support] Problems with su when building LFS

2018-02-12 Thread Pierre Labastie
On 11/02/2018 23:01, Tim Tassonis wrote: > On 02/11/2018 10:37 PM, Bruce Dubbs wrote: >> Tim Tassonis wrote: >> >>> I have found a workaround for my problem: >>> >>> If I replace >>> >>> mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620 >>> >>> with >>> >>> mount -v --bind /dev/pts

Re: [lfs-support] Problems with su when building LFS

2018-02-12 Thread Thomas Seeling
Hallo, > su: must be run from a terminal what are the defaults in your sudo.conf? Have you switched on requiretty? You could selectively (or globally) switch it off. Defaults:timtas !requiretty Tschau...Thomas -- "Do you wanna be a legend or a passing footprint on the sands of time?"

Re: [lfs-support] Problems with su when building LFS

2018-02-11 Thread Bruce Dubbs
Tim Tassonis wrote: I have found a workaround for my problem: If I replace mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620 with mount -v --bind /dev/pts $LFS/dev/pts I get the needed /dev/pts/0 and sudo and su with password asking now works. As it seems that this is really only a

Re: [lfs-support] Problems with su when building LFS

2018-02-11 Thread Tim Tassonis
On 02/11/2018 10:07 PM, Tim Tassonis wrote: On 02/11/2018 09:17 PM, Bruce Dubbs wrote: Tim Tassonis wrote: Hi all I currently building LFS (svn) and seem to get a problem doing su in the chroot environment. I am past shadow now and have set-up a user to work with. The user however

Re: [lfs-support] Problems with su when building LFS

2018-02-11 Thread Bruce Dubbs
Tim Tassonis wrote: On 02/11/2018 09:17 PM, Bruce Dubbs wrote: Tim Tassonis wrote: Hi all I currently building LFS (svn) and seem to get a problem doing su in the chroot environment. I am past shadow now and have set-up a user to work with. The user however should be able to su to root. I

Re: [lfs-support] Problems with su when building LFS

2018-02-11 Thread Bruce Dubbs
Tim Tassonis wrote: Hi all I currently building LFS (svn) and seem to get a problem doing su in the chroot environment. I am past shadow now and have set-up a user to work with. The user however should be able to su to root. I have done the same on lfs 7.9 and lfs 8.0 without problems. I

[lfs-support] Problems with su when building LFS

2018-02-11 Thread Tim Tassonis
Hi all I currently building LFS (svn) and seem to get a problem doing su in the chroot environment. I am past shadow now and have set-up a user to work with. The user however should be able to su to root. I have done the same on lfs 7.9 and lfs 8.0 without problems. I think, I follow the