* Ray Warren ([EMAIL PROTECTED]) wrote:
> if I attempted to use less as a normal user,with a filename as 
> input,the only output I receive is ESC[14;30] and Lines 1-1/1(END).If the 


I've seen that before, because i mucked around on the inittab to make runlevel 4 the 
environment i like when i boot (consoles in all the ttys from 1 to 11 (except 7 and 8 
reserved for X), all logged in on some user, 1, 5 and 6 to root and the rest to my 
personal username). I did that with shell scripts and "su" tricks, but as i didn't 
really logged in the permissions of the tty were wrong, so lots of bad things 
happened. I corrected that making the scripts change the owner of the given tty before 
letting me in   (BTW, do you know of a better, proper way to do this, sorta like 
autologin but having the given tty and user as parameters and not in some config file?)

The correct settings for the ttys are, the logged user as owner, "tty" as group, and 
permissions 600 (read-write for the user, nothing else).

I don't really know if this helps you, but it may, so i post it.


---------------------------------------
Microsoft: Writing viruses has never been easier!
Microsoft: The company that made email dangerous
Microsoft: Having a false sense of security was never so expensive
-----
Jaime Herazo Barrios            /"\
jherazo at geocities dot com    \ / ASCII Ribbon Campaign
ICQ number: 14721935             X  Against HTML Mail,
Yahoo! id: jherazo_1999         / \ and News Too



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to