|
2015-01-16
, 08:00
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#2
|
user ALL = PASSWD: ALL
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2015-01-16
, 08:09
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#3
|
/etc/sudoers.d/everybody.sudoers changes break sudoers
The Following 2 Users Say Thank You to reinob For This Useful Post: | ||
|
2015-01-16
, 09:26
|
|
Posts: 654 |
Thanked: 2,368 times |
Joined on Jul 2014
@ UK
|
#4
|
|
2015-01-16
, 10:16
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#5
|
The Following 2 Users Say Thank You to reinob For This Useful Post: | ||
|
2015-01-16
, 13:28
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#6
|
Defaults env_check+="HOME DISPLAY"
Defaults env_keep+="HOME DISPLAY"
Defaults env_reset
#
Defaults insults
Defaults targetpw
#
#user ALL = NOPASSWD: /usr/sbin/gainroot
user ALL = PASSWD: /usr/sbin/gainroot
#user ALL = NOPASSWD: ALL
The Following 3 Users Say Thank You to peterleinchen For This Useful Post: | ||
|
2015-01-16
, 14:07
|
|
Posts: 654 |
Thanked: 2,368 times |
Joined on Jul 2014
@ UK
|
#7
|
~ $ sudser Please enter a password for 'user', or press 'Enter' to use no password Enter password: Again password: grep: /etc/shells: No such file or directory Password changed. >>> sudoers file: syntax error, line 29 <<< /etc/sudoers.d/everybody.sudoers changes break sudoers ~ $
~ $ ls /etc/sudoers.d 01sudo community-ssu.sudoers everybody.sudoers fmms_magic.sudoers hildon-application-manager.sudoers hildon-control-panel-personalisation.sudoers hildon-input-method-configurator.sudoers mafw-dbus-daemon.sudoers osso-af-startup.sudoers osso-app-killer.sudoers osso-applet-languageregional.sudoers ssc-daemon.sudoers tscalibrate.sudoers ~ $
The Following User Says Thank You to Feathers McGraw For This Useful Post: | ||
|
2015-01-16
, 15:19
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#8
|
so is the line that conflicts with the config generated by sudser generated by rootsh?Code:~ $ sudser Please enter a password for 'user', or press 'Enter' to use no password Enter password: Again password: grep: /etc/shells: No such file or directory Password changed. >>> sudoers file: syntax error, line 29 <<< /etc/sudoers.d/everybody.sudoers changes break sudoers ~ $
user ALL=(ALL) PASSWD: $shells
The Following 2 Users Say Thank You to reinob For This Useful Post: | ||
|
2015-01-16
, 15:55
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#9
|
The Following User Says Thank You to peterleinchen For This Useful Post: | ||
|
2015-01-16
, 19:14
|
|
Posts: 654 |
Thanked: 2,368 times |
Joined on Jul 2014
@ UK
|
#10
|
Note that you cannot use "su" because it's not suid, and you cannot make su suid because su is actually a link to busybox and *you don't want to make busybox suid*.
The Following 2 Users Say Thank You to Feathers McGraw For This Useful Post: | ||
Tags |
community ssu, dpkg error, rootsh, sudors, sudser |
|
Thanks