Remastersys and AVLinux Forum
May 20, 2013, 03:59:53 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: AV Linux depends on user donations to survive.
Please help us keep the AV Linux project alive.
http://www.bandshed.net/AVLinux.html
 
   Home   Remastersys Home Remastersys downloads Donate Login Register AV LINUX Home Help Search  
Pages: [1]
  Print  
Author Topic: Remastersys Sudoers Entry Auto-Removes  (Read 471 times)
0 Members and 1 Guest are viewing this topic.
tigerarmy
Full Member
***
Offline Offline

Posts: 43



« on: March 19, 2012, 04:47:44 AM »

I'm a bit puzzled at why this entry is auto removed from my sudoers file on shutdown:

Code:
myuser ALL=(root):NOPASSWD /usr/bin/remastersys-gtk
Logged

Maling:
           I read the books.  And learn. I make it work.
Montgomery:
           Not without this you don't.

- The Island of Dr. Moreau
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #1 on: March 19, 2012, 06:45:07 AM »

Are you setting it using visudo?
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
tigerarmy
Full Member
***
Offline Offline

Posts: 43



« Reply #2 on: March 19, 2012, 08:19:26 PM »

Yep.  I verified even before I posted this.  I have two users.  One with admin privs, then other just regular user. The non-admin is the one I'm giving permission to launch Remastersys.  I add it in with visudo.  Visudo does not exit with errors.  The sudoers line in question does not survive boot.
Logged

Maling:
           I read the books.  And learn. I make it work.
Montgomery:
           Not without this you don't.

- The Island of Dr. Moreau
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #3 on: March 19, 2012, 11:45:59 PM »

That sounds like an ubuntu bug and has nothing to do with remastersys.  Remastersys does nothing with permissions or authorization stuff like polkit or sudo.  That is all left up to the user.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
tigerarmy
Full Member
***
Offline Offline

Posts: 43



« Reply #4 on: March 20, 2012, 02:19:01 AM »

Well, thanks. I found a workaround.  I find it very suspicious that a bug would remove that line and only that line.  I have several.  It's almost as if it were looking specifically for Remastersys, or some property that Remastersys has that would abjectly remove it.
Logged

Maling:
           I read the books.  And learn. I make it work.
Montgomery:
           Not without this you don't.

- The Island of Dr. Moreau
tigerarmy
Full Member
***
Offline Offline

Posts: 43



« Reply #5 on: March 21, 2012, 01:03:10 PM »

fragadelic,

I've discover why this is happening.  I forgot about an upstart script that I wrote that modifies sudoers.  With this in consideration, I think this question is now only a distraction and unhelpful to others using Remastersys.  I request it be deleted.
Logged

Maling:
           I read the books.  And learn. I make it work.
Montgomery:
           Not without this you don't.

- The Island of Dr. Moreau
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #6 on: March 21, 2012, 01:35:45 PM »

Glad you found it.

I try to make sure I don't change anything crucial on the users system unless they know about it and explicitly want it done - eg. changing image files for grub/isolinux/plymouth, etc.

The rest of the remastersys changes happen in the dummysys folder.  This is where empty folders and config changes take place for the live system so that the actual real system is left untouched.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!