The "-" option in su will treat the su like a login so it will go through the appropriate login gestures for whatever user (not just root) that you're switching to. This probably also includes changing shells (if appropriate) though I'm not sure. As to the wine virus thing ... I'm not sure how susceptible the wine libraries are to any of the exploits used by sophisticated windos viruses (not just emailed vb scripts) but I don't think they would be since they implement compatibilty but are actually an entirely seperate code base (thogh they do intentionally replicate some bugs ;->). In either case, the virus will not be able to affect your linux system unless you're running wine as root and have your entire linux filesystem visible inside your fake dos filesystem -- even then the effects are more likely to be random overwriting of files than anything serious. In short, you would have to actively conspire to make a windows vb virus run in an emulator seriously affect your system (at least as far as I know). Sheer On Sat, 24 Nov 2001, Linux Documents wrote: > "su -" executes root profile..... "su" will not > execute root profile... thats why some commands will > found in path..... > > Rgds, > Syed. > > --- Jihène Krichène <jihene_krichene@yahoo.fr> wrote: > > Hello everybody > > You know that wine (windows emulator) can execute > > windows applications. > > can viruses affect any Linux machine having wine > > installed over it ? > > > > other question : what's the difference between su > > and su - > > because, on some PCs, su doesn't allow me to use > > some commands (service .. > > status , for example) > > > > best regards > > > > > ___________________________________________________________ > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et > > en français ! > > Yahoo! Courrier : http://courrier.yahoo.fr > > > ------------------------------------------------------------------------ > > To unsubscribe email > > security-discuss-request@linuxsecurity.com > > with "unsubscribe" in the subject of the > > message. > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. > http://geocities.yahoo.com/ps/info1 > ------------------------------------------------------------------------ > To unsubscribe email security-discuss-request@linuxsecurity.com > with "unsubscribe" in the subject of the message. > ------------------------------------------------------------------------ To unsubscribe email security-discuss-request@linuxsecurity.com with "unsubscribe" in the subject of the message.