home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   LINUX-UBUNTU      The Ubuntu Linux Distribution Discussion      10,769 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,201 of 10,769   
   99nesorjd@gates_of_hell.invalid to All   
   Re: starting a console application on fi   
   05 Feb 07 19:49:44   
   
   Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.co   
   !nntp.giganews.com!news-in-01.newsfeed.easynews.com!easynews.com   
   easynews!easynews-local!fe02.news.easynews.com.POSTED!news.gates   
   of-hell.com!not-for-mail   
   Newsgroups: alt.os.linux.ubuntu   
   From: SINNER <99nesorjd@gates_of_hell.invalid>   
   Subject: Re: starting a console application on first login   
   References:  <87d54otu   
   p.fsf@geemail.com>  <8   
   zm7sscl9.fsf@geemail.com>    
   <87r6t4sace.fsf@geemail.com>   
   Organization: Hell.org   
   X-Face: #sn6gF@jD*I3X;_)M5ymNQ1wG39y^'rxXRA5y-oi7.T/>P.P-40N\&-q   
   Mu+DWRSTF[}`Vtd85KnX\fe1~p-<(9Uw=r"qdVdsY   
   @\.mDg9"ruPsYjX.Bi9M#gF-fG5=obWVG'>0W*w3RC   
   X-NNTP-Proxy: Leafnode-2    
   User-Agent: slrn/0.9.8.1pl1 (Debian)   
   Message-ID:    
   Lines: 43   
   X-Complaints-To: abuse@easynews.com   
   X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise   
   we will be unable to process your complaint properly.   
   Date: Tue, 06 Feb 2007 00:49:43 GMT   
   Xref: number1.nntp.dca.giganews.com alt.os.linux.ubuntu:9783   
      
   * Hadron wrote in alt.os.linux.ubuntu:   
   > Niklaus Kuehnis  writes:   
      
   >> On Mon, 5 Feb 2007, Hadron wrote:   
      
   >>> Niklaus Kuehnis  writes:   
      
   >>>> Great, that works! Although I decided to do it with chmod instead of   
   >>>> rm. Thanks!   
      
   >>> you mean you stop it being executable? Doesnt that result in a "no   
   >>> command found" or do you check the permissions before tryint to execute   
   >>> it from the bashrc?   
      
   >> Right, I'm still looking for a way to check for permissions. -    
   >> Actually, both ways don't work (without checking) because I don't want   
   >> to allow sudo for apt-get as such but only for apt-get --simulate   
   >> etc. nor do I want to allow sudo for a skript that is in home   
   >> directory and can be edited with user rights. That's why the scripts   
   >> are in /usr/sbin. In both cases, with the file non-executable or   
   >> non-existing, sudo asks for a password even though the script is set   
   >> to NOPASSWD in sudoers.   
      
   >> So the solution (i guess) is to leave the file and permissions alone   
   >> and only change the content of the file. .bash_profile executes the   
   >> apt script and empties it and cron fills it up again. Probably not the   
   >> most elegant way of doing it but it works.   
      
   >> Nik   
      
   > I'm not sure I follow you. Are you sure you are not overly complicating   
   > the issue? What was wrong again with my solution (ignoring whether it   
   > was the best/worst solution). What is the problem with using sudo in the   
   > sctip file I suggested? It will prompt for pwd or you can set the s bit.   
      
   cannot set the s bit on a script, its a security issue and the kernel   
   will not allow it.   
      
   At least, this is my understanding.   
   --    
   David   
   Do not open shrink-wrap until you have read and agreed to the conditions   
   contained within.   
   --- Platinum Xpress/Win/WINServer v3.0pr5   
    * Origin: Omicron Theta BBS (1:261/20)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca