On 8 Apr, GiGGz wrote: > aji a écrit : >> giggz wrote: >>> Hi, >>> >>> Here is a known security problem : >>> - launch an e17 session with startx >>> - lock the screen (with ctrl + l) in order to avoid that others people >>> can use our session >>> - someone (a bad one) kills the x server with (ctrl+alt+backspace) >>> - and get the an opened user session... >>> - or switch to the tty1 with ctrl+alt+f? and then ctrl+c the xserver. >>> >> To avoid this I wrote in my .bash_aliases: >> alias startx='/usr/bin/startx && exit' >> A ctrl+alt+backspace or ctrl+c close the session automaticly. >> > > Thx for your answer. I'm testing now "startx & vlock" and it works well! > > Do you have side effect with your alias ? I mean the alias name is > startx which is a command too... > > Cheers, > Guillaume
If I may say, it shouldn't be a problem, I have ls overloaded with aliases to about 3 or 4 levels. In other words bash has to expand more than one alias every time I type ls, and it works just fine. I was going to suggest "exec startx", because that way the startx process replaces the login shell, and when it exits you're back to a normal login prompt. >> aji >>> Is it possible to forbid the ctrl+alt+backspace and ctrl+alt+f? under >>> e17 lockscreen ? >>> I don't want to use these server flags >>> Option "DontVTSwitch" "True" >>> Option "DontZap" "True" >>> to disable it. >>> >>> This problem doesn't appear with xdm, gdm, kdm, entrance...because the >>> xserver restarts automaticly, but for the addicted "startx" users this >>> problem is a problem. >>> >>> Regards, >>> Guillaume >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>> Register now and save $200. Hurry, offer ends at 11:59 p.m., >>> Monday, April 7! Use priority code J8TLD2. >>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>> _______________________________________________ >>> enlightenment-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >>> >>> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Register now and save $200. Hurry, offer ends at 11:59 p.m., >> Monday, April 7! Use priority code J8TLD2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Register now and save $200. Hurry, offer ends at 11:59 p.m., > Monday, April 7! Use priority code J8TLD2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Ethan Grammatikidis 16:32:10 <+flux_control> git blame "struct filled with hex" && shoot_on_sight ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
