[sudo-users] When having multiple simultanious SSH connections, only the first two can `sudo`

Manuel Wagesreither ManWag at FastMail.FM
Wed Dec 13 10:28:35 MST 2017


Dear Todd,

the output of these commands is as follows:

> user at manuel-nas:~$ sudo -l
> Matching Defaults entries for user on manuel-nas:
>     env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
> 
> User user may run the following commands on manuel-nas:
>     (ALL : ALL) ALL

> user at manuel-nas:~$ id -a
> uid=1000(user) gid=1000(user) groups=1000(user),27(sudo)


For the sake of completeness, I would like to add that there are in total 3 users sharing the same uid 1000. These are used solely for sftp and provide no shell access.

> user at manuel-nas:~$ sudo cat /etc/passwd | grep 1000
> user:x:1000:1000::/home/user:/bin/bash
> diskuser:x:1000:1000::/home/diskuser:
> diskuser-privat:x:1000:1000::/home/diskuser-privat:


Regards,
Manuel


More information about the sudo-users mailing list