On Sat, July 19, 2014 7:36 am, ÐгоÑÑ ÐÑÑконов wrote: > These seem OK. > > > Please, give the output of > > > # ls -l /usr/bin/sudo > > > root:/# ls -l /usr/bin/sudo > -rwsr-xr-x 1 root root 178497 Jul 18 14:26 /usr/bin/sudo > > > What "s" is mean? > > > > 2014-07-18 17:21 GMT+04:00 ÐгоÑÑ ÐÑÑконов > <[email protected]>: > > >> Hello! When I'm trying to run installed 'sudo' (it was installed and >> checked successfully) I see: >> >> root:/# sudo >> sudo: unable to stat /etc/sudoers: Permission denied >> sudo: no valid sudoers sources found, quitting >> sudo: unable to initialize policy plugin >> >> >> I took sudoers file from ubuntu, where it is normally works. >> >> >> root:/# ls -l /etc/sudoers >> -r--r----- 1 root root 745 Jul 18 16:37 /etc/sudoers >> >> >> root:/# visudo -c >> /etc/sudoers: parsed OK >> >> >> On the forums (for instance, >> http://archlinuxarm.org/forum/viewtopic.php?f=18&t=3153&start=20#p19727) >> people suggests to "chmod 755 /". But permission for my '/'-directory >> are: >> root:/# ls -l / >> total 112 drwxr-xr-x 2 root root 4096 Jul 15 18:04 bin drwxr-xr-x 2 >> root root 4096 Jul 15 14:24 boot drwxr-xr-x 15 root root 3340 Jul >> 18 16:17 dev >> drwxr-xr-x 20 root root 4096 Jul 18 16:37 etc -rw-r--r-- 1 root root >> 0 Jul 18 15:22 fastboot drwxr-xr-x 3 aido users 4096 Jul 18 13:15 >> home drwxr-xr-x 10 root root 4096 Jul 15 15:42 lib lrwxrwxrwx 1 root >> root 3 Jul 11 14:06 lib64 -> lib drwx------ 2 root root 16384 >> Jul 11 13:22 lost+found >> drwxr-xr-x 6 root root 4096 Jul 15 14:30 media drwxr-xr-x 2 root >> root 4096 Jul 11 14:06 mnt drwxr-xr-x 3 root root 4096 Jul 3 >> 20:11 opt >> dr-xr-xr-x 152 root root 0 Jul 18 15:23 proc drwxr-x--- 7 root >> root 4096 Jul 18 12:21 root drwxr-xr-x 4 root root 4096 Jul 18 >> 16:17 run >> drwxr-xr-x 2 root root 4096 Jul 18 12:21 sbin drwxrwxrwx 44 root >> root 20480 Jul 18 16:44 src drwxr-xr-x 2 root root 4096 Jul 11 >> 14:06 srv >> dr-xr-xr-x 12 root root 0 Jul 18 15:23 sys drwxrwxrwt 2 root root >> 20480 Jul 18 16:42 tmp >> drwxr-xr-x 10 root root 4096 Jul 11 14:06 usr drwxr-xr-x 10 root root >> 4096 Jul 11 14:06 var >> >> >> What should I do, to make 'sudo' be able to work? >> >> > -- > http://lists.linuxfromscratch.org/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > >
Hello, The "s" option is setuid/gid and I do have it set on my per the book installation of sudo. Regards, Christopher. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
