Re: Why there is no space left on root partition?
Am 2007-01-19 21:15:15, schrieb Henrik Enberg: > Jon Dowland <[EMAIL PROTECTED]> writes: > > I'd be curious to know what applications are spouting crap into > > it. There'd be a round of bugs filed by me on them. > > Mine is full of spewage from GTK-based apps. Please write Bugreports against the appropriated Package. I had this too with fvwm and rplay and both Maintainers had correct it realy fast. Since filling up $USER apace with useless debug messages and such is definitivly a Bug of severity "important". Thanks, Greetings and nice Day Michelle Konzack -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ # Debian GNU/Linux Consultant # Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSM LinuxMichi 0033/6/6192519367100 Strasbourg/France IRC #Debian (irc.icq.com) signature.pgp Description: Digital signature
Re: Why there is no space left on root partition?
On Mon, Jan 22, 2007 at 11:07:05AM -0500, [EMAIL PROTECTED] wrote: > On Tue, Jan 23, 2007 at 02:18:55AM +1300, Chris Bannister wrote: > > On Sat, Jan 20, 2007 at 07:57:46AM -0600, John Hasler wrote: > > > Sven Arvidsson writes: > > > > I'm not a Windows user myself, but I hear of many Windows users who > > > > actually know that they shouldn't run as admin but are forced to do so > > > > because a lot of applications, installers and games simply will not run > > > > on an unprivileged account. > > > > > > Nothing forces them to run those applications. If they really cared about > > > security they would refuse to buy such programs and the publishers would > > > get the message. > > > > True, but quite often there is no choice. For example, at the local > > primary school there is quite a lot of educational software which comes > > under this umbrella. Although to be fair, I think it may be the way the > > security features of the admin account are setup. The average teacher is > > not aware of, or actually has time to learn about, security with regards > > to installing purchased educational software. > > I'd actually appreciate it if aptitude (or other such) would distinguish > between packages whose use requires root permissions (whether by a > setuid or not) and those that don't, and ask whether this is really > intended. Just to be clear I was talking about Windows where the network etc is normally under contract and hence the average Joe can't just go round nilly willy changing things. Well that is IMO :-) -- Chris. == " ... the official version cannot be abandoned because the implication of rejecting it is far too disturbing: that we are subject to a government conspiracy of `X-Files' proportions and insidiousness." Letter to the LA Times Magazine, September 18, 2005. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Mon, Jan 22, 2007 at 03:25:39PM -0600, John Hasler wrote: > Andrew Sackville-West writes: > > how about if aptitude could install in ~/blah if run as non-root? I'm > > sure there are implications I don't understand. > > Worms would then be able to call aptitude to install malware in the user's > home directory. absolutely. I was just pondering the moving of the wife from winxp to deb. coming up here soon. so do I give her the root password (it is her machine after all), setup up a good comprehensive sudoers files, or, wouldn't it be nice if she could install apps at will in her home tree without bringing down the whole box. just thinking aloud. A signature.asc Description: Digital signature
Re: Why there is no space left on root partition?
Andrew Sackville-West writes: > how about if aptitude could install in ~/blah if run as non-root? I'm > sure there are implications I don't understand. Worms would then be able to call aptitude to install malware in the user's home directory. -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Mon, Jan 22, 2007 at 08:08:24PM +0200, Andrei Popescu wrote: > On Mon, 22 Jan 2007 11:07:05 -0500 > [EMAIL PROTECTED] wrote: > > > On Tue, Jan 23, 2007 at 02:18:55AM +1300, Chris Bannister wrote: > > > > I'd actually appreciate it if aptitude (or other such) would > > distinguish between packages whose use requires root permissions > > (whether by a setuid or not) and those that don't, and ask whether > > this is really intended. > > And who checks that the so-called harmless package is what it says. The > non-root user doesn't know anything about md5sums, security, ... how about if aptitude could install in ~/blah if run as non-root? I'm sure there are implications I don't understand. A signature.asc Description: Digital signature
Re: Why there is no space left on root partition?
On Mon, 22 Jan 2007 11:07:05 -0500 [EMAIL PROTECTED] wrote: > On Tue, Jan 23, 2007 at 02:18:55AM +1300, Chris Bannister wrote: > > On Sat, Jan 20, 2007 at 07:57:46AM -0600, John Hasler wrote: > > > Sven Arvidsson writes: > > > > I'm not a Windows user myself, but I hear of many Windows users > > > > who actually know that they shouldn't run as admin but are > > > > forced to do so because a lot of applications, installers and > > > > games simply will not run on an unprivileged account. > > > > > > Nothing forces them to run those applications. If they really > > > cared about security they would refuse to buy such programs and > > > the publishers would get the message. > > > > True, but quite often there is no choice. For example, at the local > > primary school there is quite a lot of educational software which > > comes under this umbrella. Although to be fair, I think it may be > > the way the security features of the admin account are setup. The > > average teacher is not aware of, or actually has time to learn > > about, security with regards to installing purchased educational > > software. > > I'd actually appreciate it if aptitude (or other such) would > distinguish between packages whose use requires root permissions > (whether by a setuid or not) and those that don't, and ask whether > this is really intended. And who checks that the so-called harmless package is what it says. The non-root user doesn't know anything about md5sums, security, ... Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Tue, Jan 23, 2007 at 02:18:55AM +1300, Chris Bannister wrote: > On Sat, Jan 20, 2007 at 07:57:46AM -0600, John Hasler wrote: > > Sven Arvidsson writes: > > > I'm not a Windows user myself, but I hear of many Windows users who > > > actually know that they shouldn't run as admin but are forced to do so > > > because a lot of applications, installers and games simply will not run > > > on an unprivileged account. > > > > Nothing forces them to run those applications. If they really cared about > > security they would refuse to buy such programs and the publishers would > > get the message. > > True, but quite often there is no choice. For example, at the local > primary school there is quite a lot of educational software which comes > under this umbrella. Although to be fair, I think it may be the way the > security features of the admin account are setup. The average teacher is > not aware of, or actually has time to learn about, security with regards > to installing purchased educational software. I'd actually appreciate it if aptitude (or other such) would distinguish between packages whose use requires root permissions (whether by a setuid or not) and those that don't, and ask whether this is really intended. -- hendrik -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
> On Sat, Jan 20, 2007 at 07:57:46AM -0600, John Hasler wrote: > > Sven Arvidsson writes: > > > I'm not a Windows user myself, but I hear of many Windows users who > > > actually know that they shouldn't run as admin but are forced to do so > > > because a lot of applications, installers and games simply will not run > > > on an unprivileged account. > > > > Nothing forces them to run those applications. If they really cared about > > security they would refuse to buy such programs and the publishers would > > get the message. On 23.01.07 02:18, Chris Bannister wrote: > True, but quite often there is no choice. For example, at the local > primary school there is quite a lot of educational software which comes > under this umbrella. Although to be fair, I think it may be the way the > security features of the admin account are setup. The average teacher is > not aware of, or actually has time to learn about, security with regards > to installing purchased educational software. Well, there are also many programs that refuse to run as root. You (or them) can decide which software do you want to have working, and if you (them) want the security. -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. My mind is like a steel trap - rusty and illegal in 37 states. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Sat, Jan 20, 2007 at 07:57:46AM -0600, John Hasler wrote: > Sven Arvidsson writes: > > I'm not a Windows user myself, but I hear of many Windows users who > > actually know that they shouldn't run as admin but are forced to do so > > because a lot of applications, installers and games simply will not run > > on an unprivileged account. > > Nothing forces them to run those applications. If they really cared about > security they would refuse to buy such programs and the publishers would > get the message. True, but quite often there is no choice. For example, at the local primary school there is quite a lot of educational software which comes under this umbrella. Although to be fair, I think it may be the way the security features of the admin account are setup. The average teacher is not aware of, or actually has time to learn about, security with regards to installing purchased educational software. -- Chris. == " ... the official version cannot be abandoned because the implication of rejecting it is far too disturbing: that we are subject to a government conspiracy of `X-Files' proportions and insidiousness." Letter to the LA Times Magazine, September 18, 2005. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Sun, 2007-01-21 at 16:48 +, Joe wrote: > Greg Folkert wrote: > > On Sat, 2007-01-20 at 17:41 +, Joe wrote: > >> Having said that, it's clearly not a bright idea to put a log file of > >> potentially unlimited size in /root. Hasn't anyone heard of /var/log? > >> And it's pretty obvious why a separate partition is useful there, even > >> for a standalone workstation. > > > > .xsession-errors is a user log for errors related to their err > > X-Session. > > > > Sot of proving that the OP logs in a root to do most if not all things. > > Otherwise .xsession-errors would not be that big in the first place. > > I realise that, but /root is rarely on a separate partition to /, > whereas /home often is. That makes /root a bad place to put any > unlimited log, even if root is the logged-in user. Something like > /var/log/root, with root permissions, might be a better idea. Again, you side step the fact that the OP is using the "root" user for everything. And you keep trying to make it "OK" by using workarounds. And if properly setup, a critical machine should have a small "root" partition 300MB or so in size. A properly setup machine should be able to handle a *FULL* root file system. Logging in as "root" is a very forbidden thing period... and has been for a LONG time in UNIX history. -- greg, [EMAIL PROTECTED] The technology that is Stronger, better, faster: Linux signature.asc Description: This is a digitally signed message part
Re: Why there is no space left on root partition?
Greg Folkert wrote: On Sat, 2007-01-20 at 17:41 +, Joe wrote: Having said that, it's clearly not a bright idea to put a log file of potentially unlimited size in /root. Hasn't anyone heard of /var/log? And it's pretty obvious why a separate partition is useful there, even for a standalone workstation. .xsession-errors is a user log for errors related to their err X-Session. Sot of proving that the OP logs in a root to do most if not all things. Otherwise .xsession-errors would not be that big in the first place. I realise that, but /root is rarely on a separate partition to /, whereas /home often is. That makes /root a bad place to put any unlimited log, even if root is the logged-in user. Something like /var/log/root, with root permissions, might be a better idea. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
David E. Fox wrote: I don't recall ever having a large .xsession-errors file. Currently, it's at about 300 bytes. Mine is 68 bytes. Of course I have no KDE, or GNOME stuff installed, at all. -- Marc Shapiro [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Fri, 19 Jan 2007 11:32:16 + Jon Dowland <[EMAIL PROTECTED]> wrote: > It's the stderr output of programs which have been created > under an X session. You can safely delete it. And, to the OP: issue a > .xsession-errors in the /root directory - it'll just quickly turn into a zero byte file. > I'd be curious to know what applications are spouting crap > into it. There'd be a round of bugs filed by me on them. I'd I don't recall ever having a large .xsession-errors file. Currently, it's at about 300 bytes. > Jon Dowland -- David E. Fox Thanks for letting me [EMAIL PROTECTED]change magnetic patterns [EMAIL PROTECTED] on your hard disk. --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Friday 19 January 2007 06:32, Jon Dowland wrote: > everyone else: > > I'd be curious to know what applications are spouting crap > into it. There'd be a round of bugs filed by me on them. I'd > also wishlist xsession to round-robin that file from time to > time. almost all KDE applications like konqueror, kmail, knode, kaffeine spew all sorts of warnings into .xsession-errors. I tried asking about it in KDE mailing lists and all I got is "Just ignore them. They are just warnings!". The reason I have not filed any bugs on these is because they might not be consistently reproducible on all the systems. So the developers will simply close them saying that they are unreproducible. Not worth the pain IMHO raju -- Kamaraju S Kusumanchi http://www.people.cornell.edu/pages/kk288/ http://malayamaarutham.blogspot.com/ -- Click to consolidate your debt and lower your monthly expenses http://tags.bluebottle.com/fc/CAaCMPJklAfsVaeH5Cm7kRJCmui5tLrs/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/07 18:24, David Jardine wrote: > On Sat, Jan 20, 2007 at 03:26:28PM -0800, Andrew Sackville-West wrote: >> On Fri, Jan 19, 2007 at 02:24:41PM -0400, Stephen Cormier wrote: >>> On Thursday 18 January 2007 20:28, Ron Johnson wrote: Linking an important log file to /dev/null is kinda risky, no? >>> Well it was either the linking or have it continue to fill up the >>> partition, >>> this was the only time I have ever had to deal with the file in the many >>> years I have been using GNU/Linux. I figure if I ever need to get some >>> information out of it I will logout of X unlink and see if I can reproduce >>> the error again. >> you can always recover the contents with cat /dev/null > oldlogfile >> and just wait for it to finish... >> >> ;-P > > But why not just use logrotate? But it' so fun laughing at the person who tries to run # cat /dev/null > oldlogfile -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFssgtS9HxQb37XmcRAuN9AKC5DOTTBiSDD+zaaPfg5RxU11ZdXQCg0LKg 2a9ewHSr9slBHmIxzyM+STQ= =g+bS -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Sat, Jan 20, 2007 at 03:26:28PM -0800, Andrew Sackville-West wrote: > On Fri, Jan 19, 2007 at 02:24:41PM -0400, Stephen Cormier wrote: > > On Thursday 18 January 2007 20:28, Ron Johnson wrote: > > > > > > Linking an important log file to /dev/null is kinda risky, no? > > > > Well it was either the linking or have it continue to fill up the > > partition, > > this was the only time I have ever had to deal with the file in the many > > years I have been using GNU/Linux. I figure if I ever need to get some > > information out of it I will logout of X unlink and see if I can reproduce > > the error again. > > you can always recover the contents with cat /dev/null > oldlogfile > and just wait for it to finish... > > ;-P But why not just use logrotate? -- David Jardine "Running Debian GNU/Linux and loving every minute of it." -L. von Sacher-M.(1835-1895) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/18/07 19:29, Douglas Allan Tutty wrote: > On Thu, Jan 18, 2007 at 05:52:29PM -0600, Ron Johnson wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 01/18/07 17:43, Greg Folkert wrote: >>> On Thu, 2007-01-18 at 17:39 -0600, jie gong wrote: Thanks for the advice. I looked at the files under /root, and found there is a file .xsession-errors has size 4003647488. What is that? Can I delete it? >>> That tells me you should not be using X as root. >> But Microsoft lets me run *anything* as Administrator >> >> Why can't I do the same thing in Stupid Old Linux? >> > > This is a fundamental thing about all *NIX OSs. Linux will also _LET_ > you do anything as root. That doesn't mean its a good idea. > > Since you're a newbie, I suggest you read the debian-reference manual. I guess I wasn't very effective at expressing sarcasm. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFsqnPS9HxQb37XmcRAmQNAJwIQablyfCkeF0LbqKrbPtDnvzHeQCdFJsb byPIfmmq6cg47sJnhWSQMJs= =OGTM -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/20/07 07:57, John Hasler wrote: > Sven Arvidsson writes: >> I'm not a Windows user myself, but I hear of many Windows users who >> actually know that they shouldn't run as admin but are forced to do so >> because a lot of applications, installers and games simply will not run >> on an unprivileged account. > > Nothing forces them to run those applications. If they really cared about > security they would refuse to buy such programs and the publishers would > get the message. The purpose of a computer is to run applications. If that is the application which does what you want, with relative ease and for a reasonable price, that's what you're going to use. Especially if you are a non-geek, and it's been pre-installed on your computer. Or, even if you know better and don't want to use the app, you *must* use it to interact with other people. In business, for example. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFsqmdS9HxQb37XmcRAj11AKDKLJ4mZr5/ZUF2X5JF/zK7HjYzhgCeIMbo RECtAzX7fpilyJ0vUVBfC4A= =B76a -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Fri, Jan 19, 2007 at 02:24:41PM -0400, Stephen Cormier wrote: > On Thursday 18 January 2007 20:28, Ron Johnson wrote: > > > > Linking an important log file to /dev/null is kinda risky, no? > > Well it was either the linking or have it continue to fill up the partition, > this was the only time I have ever had to deal with the file in the many > years I have been using GNU/Linux. I figure if I ever need to get some > information out of it I will logout of X unlink and see if I can reproduce > the error again. you can always recover the contents with cat /dev/null > oldlogfile and just wait for it to finish... ;-P A signature.asc Description: Digital signature
Re: Why there is no space left on root partition?
On Sat, 2007-01-20 at 17:41 +, Joe wrote: > Having said that, it's clearly not a bright idea to put a log file of > potentially unlimited size in /root. Hasn't anyone heard of /var/log? > And it's pretty obvious why a separate partition is useful there, even > for a standalone workstation. .xsession-errors is a user log for errors related to their err X-Session. Sot of proving that the OP logs in a root to do most if not all things. Otherwise .xsession-errors would not be that big in the first place. -- greg, [EMAIL PROTECTED] The technology that is Stronger, better, faster: Linux signature.asc Description: This is a digitally signed message part
Re: Why there is no space left on root partition?
John Hasler wrote: Sven Arvidsson writes: I'm not a Windows user myself, but I hear of many Windows users who actually know that they shouldn't run as admin but are forced to do so because a lot of applications, installers and games simply will not run on an unprivileged account. Nothing forces them to run those applications. If they really cared about security they would refuse to buy such programs and the publishers would get the message. Yes, there's certainly a lot of bad programming about, but that's not because it has to work on Windows. It's just stupidity. It would be perfectly possible to configure a Linux application to drop its log files into /bin. But how do you tell the MD that he can't use his favourite accounting package? None of this stuff says on the box that it needs admin permissions, and of course it doesn't really. It's just next to impossible to find out where it does need write permissions and there isn't really the time to do it the hard way. As for games... Having said that, it's clearly not a bright idea to put a log file of potentially unlimited size in /root. Hasn't anyone heard of /var/log? And it's pretty obvious why a separate partition is useful there, even for a standalone workstation. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Sat, 2007-01-20 at 07:57 -0600, John Hasler wrote: > Sven Arvidsson writes: > > I'm not a Windows user myself, but I hear of many Windows users who > > actually know that they shouldn't run as admin but are forced to do so > > because a lot of applications, installers and games simply will not run > > on an unprivileged account. > > Nothing forces them to run those applications. If they really cared about > security But they don't even UNDERSTAND nor CARE about those implications. They just want "precious" to run and play with "precious". Then when "precious" doesn't work, pay for a geek-squad/firedog "fix" every 3-6 months to continue access to "precious" along. > they would refuse to buy such programs And not have the latest WoW upgrade? or the latest EverCRACK, or the bestest Star Wars Soemthing or other Online... You seriously Jest. Why would they not accept the problems that manifested in the earlier "consumer grade" Windows Products, in the newer versions to Run the precious Games that feed the addiction(s) > and the publishers would get the message. They'll never see the message, addictions cover that. John, its just like trying to get people to buy something other than ATI or nVidia Chipsets for Video cards... it just isn't going to happen anytime soon. For now, I use consoles to play games. Mod-Chipped ones at that. -- greg, [EMAIL PROTECTED] The technology that is Stronger, better, faster: Linux signature.asc Description: This is a digitally signed message part
Re: Why there is no space left on root partition?
Sven Arvidsson writes: > I'm not a Windows user myself, but I hear of many Windows users who > actually know that they shouldn't run as admin but are forced to do so > because a lot of applications, installers and games simply will not run > on an unprivileged account. Nothing forces them to run those applications. If they really cared about security they would refuse to buy such programs and the publishers would get the message. -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Sat, 2007-01-20 at 12:49 +, Joe wrote: > You can be quite certain that most domestic Windows users will run as > admins, even though they're virtually all using versions which have > unprivileged users. They do it because nobody tells them otherwise, not > because Windows can't do otherwise. I'm not a Windows user myself, but I hear of many Windows users who actually know that they shouldn't run as admin but are forced to do so because a lot of applications, installers and games simply will not run on an unprivileged account. Maybe things have improved in Vista, but I kinda doubt it. -- Cheers, Sven Arvidsson http://www.whiz.se PGP Key ID 760BDD22 signature.asc Description: This is a digitally signed message part
Re: Why there is no space left on root partition?
Jakub Narojczyk wrote: Ron Johnson napisa³(a): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/18/07 17:43, Greg Folkert wrote: But Microsoft lets me run *anything* as Administrator This is becouse Windows is stupid. running programs as a root gives them ability to damage your system. Why can't I do the same thing in Stupid Old Linux? Just becouse linux is different than windows it doesn't mean that it is stupid. It is generally a good idea to folow the guidelies of a given system. If some one tells You not to run programs as root then don't. Belive me, the more time You spend learning linux the more convinced You'll be that MS Win is a crapy system. BTW ever wandered why there is so much viruses on windows?? No, not becouse windows is popular... it's becouse that system lets You run every program as administator, thus lets the program break the system ;) Windows Me was the last domestic MS OS, seven years ago. All since then, and NT before that, have used fine-grained ACLs and different types of user. The use of unprivileged accounts is not enforced, but it is only in the last few years that Linux installations have demanded that unprivileged users be created. There are still relatively few Linux programs that actually refuse to run as root. You can be quite certain that most domestic Windows users will run as admins, even though they're virtually all using versions which have unprivileged users. They do it because nobody tells them otherwise, not because Windows can't do otherwise. Please leave the FUD to that nice Mr Ballmer. Windows gets more *nix- like with each version, underneath the eye candy, though of course that's not quite how MS puts it. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Thu, Jan 18, 2007 at 05:52:29PM -0600, Ron Johnson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 01/18/07 17:43, Greg Folkert wrote: > > On Thu, 2007-01-18 at 17:39 -0600, jie gong wrote: > >> Thanks for the advice. > >> I looked at the files under /root, and found > >> there is a file .xsession-errors has size 4003647488. > >> What is that? Can I delete it? > > > > That tells me you should not be using X as root. > > But Microsoft lets me run *anything* as Administrator > > Why can't I do the same thing in Stupid Old Linux? > This is a fundamental thing about all *NIX OSs. Linux will also _LET_ you do anything as root. That doesn't mean its a good idea. Since you're a newbie, I suggest you read the debian-reference manual. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
Ron Johnson writes: > You, though, John, get flogged 100 times with a wet noodle for not > noticing obvious sarcasm. _My_ sarcasm was aimed at the OP. -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/19/07 12:07, jie gong wrote: > Just cleaned up the .xsessionerror file, have not looked the content, pity! > Did some experiment. > I started the x-session under root (althought it is not good to do that) > Found the .x-sessionerror show up again. The content is: > > Xsession: X session started for root at Fri Jan 19 07:03:55 EST 2007 > SESSION_MANAGER=local/p3.local.net:/tmp/.ICE-unix/3574 > libhal.c 767 : org.freedesktop.DBus.Error.ServiceDoesNotExist raised > "Service "org.freedesktop.Hal" does not exist" > > ** (gnome-volume-manager:3696): WARNING **: manager.c/1054: seems that HAL > is not running > > > (gnome-panel:3698): Gtk-WARNING **: Ignoring the separator setting > /root/.gnome2/gedit-metadata.xml:1: parser error : Document is empty > > ^ > /root/.gnome2/gedit-metadata.xml:1: parser error : Start tag expected, '<' > not found > > ^ Are these packages installed: hal hal-device-manager libhal-storage1 libhal1 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFsTJ1S9HxQb37XmcRAhnPAKDjzjkw08tS9z30Az7BOTFQ+CFQRgCgi9ox NtZ4ap4SL11LGZ/0hqdRvaI= =oFNP -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/18/07 18:20, John Hasler wrote: > Ron Johnson writes: >> But Microsoft lets me run *anything* as Administrator! > >> Why can't I do the same thing in Stupid Old Linux? > > You can, if you know how. Once you figure out how you will know better > than to do it. Jakub Narojczyk gets a pass, since he's not a native English speaker. You, though, John, get flogged 100 times with a wet noodle for not noticing obvious sarcasm. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFsTHOS9HxQb37XmcRAt4/AKDdRv5tKlEanimk2sqd9W6caTBsWQCfRP2f j45WgnnBspkqA1F5vQ2wp5U= =WO14 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
Ron Johnson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/18/07 17:43, Greg Folkert wrote: On Thu, 2007-01-18 at 17:39 -0600, jie gong wrote: Thanks for the advice. I looked at the files under /root, and found there is a file .xsession-errors has size 4003647488. What is that? Can I delete it? That tells me you should not be using X as root. But Microsoft lets me run *anything* as Administrator Why can't I do the same thing in Stupid Old Linux? I want, what is it? Vista? Vida? Something... Yes you can remove the file... ti probably is full of warnings to not run "certain program as root". You should be using a regular user to do most things and then use "sudo" for administrative things. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFsAg9S9HxQb37XmcRAsKyAKDe+9dtq1YriyloVnSpcfNi8rtBzwCbBUps 5HdM0jl9f3XQnnVy0YKH0SI= =DBws -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
Jon Dowland <[EMAIL PROTECTED]> writes: > I'd be curious to know what applications are spouting crap into > it. There'd be a round of bugs filed by me on them. Mine is full of spewage from GTK-based apps. > I'd also wishlist xsession to round-robin that file from time to time. It's truncated on each X startup, but I guess if you seldom quit X it might grow to be quite large. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Thu, Jan 18, 2007 at 05:39:35PM -0600, jie gong wrote: > Thanks for the advice. I looked at the files under /root, > and found there is a file .xsession-errors has size > 4003647488. What is that? Can I delete it? to op: It's the stderr output of programs which have been created under an X session. You can safely delete it. everyone else: I'd be curious to know what applications are spouting crap into it. There'd be a round of bugs filed by me on them. I'd also wishlist xsession to round-robin that file from time to time. -- Jon Dowland -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
Ron Johnson napisał(a): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/18/07 17:43, Greg Folkert wrote: But Microsoft lets me run *anything* as Administrator This is becouse Windows is stupid. running programs as a root gives them ability to damage your system. Why can't I do the same thing in Stupid Old Linux? Just becouse linux is different than windows it doesn't mean that it is stupid. It is generally a good idea to folow the guidelies of a given system. If some one tells You not to run programs as root then don't. Belive me, the more time You spend learning linux the more convinced You'll be that MS Win is a crapy system. BTW ever wandered why there is so much viruses on windows?? No, not becouse windows is popular... it's becouse that system lets You run every program as administator, thus lets the program break the system ;) chears -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Thursday 18 January 2007 20:28, Ron Johnson wrote: > On 01/18/07 18:24, Stephen Cormier wrote: > > On Thursday 18 January 2007 19:43, Greg Folkert wrote: > >> On Thu, 2007-01-18 at 17:39 -0600, jie gong wrote: > >>> Thanks for the advice. > >>> I looked at the files under /root, and found > >>> there is a file .xsession-errors has size 4003647488. > >>> What is that? Can I delete it? > >> > >> That tells me you should not be using X as root. > >> > >> Yes you can remove the file... ti probably is full of warnings to not > >> run "certain program as root". > > > > Either that or he is running programs like kaffeine, kplayer, kmplayer, > > avidemux ... anything video related it seems which just pile a ton of > > junk into the .xsessions-errors. The same partition full happened to me > > running as normal user so using root has nothing to do with it really > > after I removed the file I linked it to /dev/null which solved the > > problem. > > Linking an important log file to /dev/null is kinda risky, no? Well it was either the linking or have it continue to fill up the partition, this was the only time I have ever had to deal with the file in the many years I have been using GNU/Linux. I figure if I ever need to get some information out of it I will logout of X unlink and see if I can reproduce the error again. Stephen -- GPG Pubic Key: http://users.eastlink.ca/~stephencormier/publickey.asc pgpzr0gu8ehlC.pgp Description: PGP signature
Re: Why there is no space left on root partition?
Ron Johnson writes: > But Microsoft lets me run *anything* as Administrator! > Why can't I do the same thing in Stupid Old Linux? You can, if you know how. Once you figure out how you will know better than to do it. -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
Just cleaned up the .xsessionerror file, have not looked the content, pity! Did some experiment. I started the x-session under root (althought it is not good to do that) Found the .x-sessionerror show up again. The content is: Xsession: X session started for root at Fri Jan 19 07:03:55 EST 2007 SESSION_MANAGER=local/p3.local.net:/tmp/.ICE-unix/3574 libhal.c 767 : org.freedesktop.DBus.Error.ServiceDoesNotExist raised "Service "org.freedesktop.Hal" does not exist" ** (gnome-volume-manager:3696): WARNING **: manager.c/1054: seems that HAL is not running (gnome-panel:3698): Gtk-WARNING **: Ignoring the separator setting /root/.gnome2/gedit-metadata.xml:1: parser error : Document is empty ^ /root/.gnome2/gedit-metadata.xml:1: parser error : Start tag expected, '<' not found ^ Thanks, On 1/19/07, jie gong <[EMAIL PROTECTED]> wrote: Thanks a lot. It indeed solved my system problem. On 1/19/07, Lubos Vrbka <[EMAIL PROTECTED]> wrote: > > jie gong napsal(a): > > Thanks for the advice. > > I looked at the files under /root, and found > > there is a file .xsession-errors has size 4003647488. > > What is that? Can I delete it? > the file contains errors from your x session. it seems you use some x > program that just gone mad and prints a lots of error output. you can > safely delete the file, but don't forget to shutdown X first. you should > try to look at the end of the file (with tail -300 .xsession-errors) > to see the actual message that is printed there. it might help to > identify the program that caused this situation. > > best regards, > > -- > Lubos [EMAIL PROTECTED]" > http://www.lubos.vrbka.net > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > >
Re: Why there is no space left on root partition?
Thanks a lot. It indeed solved my system problem. On 1/19/07, Lubos Vrbka <[EMAIL PROTECTED]> wrote: jie gong napsal(a): > Thanks for the advice. > I looked at the files under /root, and found > there is a file .xsession-errors has size 4003647488. > What is that? Can I delete it? the file contains errors from your x session. it seems you use some x program that just gone mad and prints a lots of error output. you can safely delete the file, but don't forget to shutdown X first. you should try to look at the end of the file (with tail -300 .xsession-errors) to see the actual message that is printed there. it might help to identify the program that caused this situation. best regards, -- Lubos [EMAIL PROTECTED]" http://www.lubos.vrbka.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
jie gong napsal(a): Thanks for the advice. I looked at the files under /root, and found there is a file .xsession-errors has size 4003647488. What is that? Can I delete it? the file contains errors from your x session. it seems you use some x program that just gone mad and prints a lots of error output. you can safely delete the file, but don't forget to shutdown X first. you should try to look at the end of the file (with tail -300 .xsession-errors) to see the actual message that is printed there. it might help to identify the program that caused this situation. best regards, -- Lubos [EMAIL PROTECTED]" http://www.lubos.vrbka.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/18/07 18:24, Stephen Cormier wrote: > On Thursday 18 January 2007 19:43, Greg Folkert wrote: >> On Thu, 2007-01-18 at 17:39 -0600, jie gong wrote: >>> Thanks for the advice. >>> I looked at the files under /root, and found >>> there is a file .xsession-errors has size 4003647488. >>> What is that? Can I delete it? >> That tells me you should not be using X as root. >> >> Yes you can remove the file... ti probably is full of warnings to not >> run "certain program as root". >> > > Either that or he is running programs like kaffeine, kplayer, kmplayer, > avidemux ... anything video related it seems which just pile a ton of junk > into the .xsessions-errors. The same partition full happened to me running as > normal user so using root has nothing to do with it really after I removed > the file I linked it to /dev/null which solved the problem. Linking an important log file to /dev/null is kinda risky, no? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFsBDJS9HxQb37XmcRAhGdAJ9kxnuBdWtSlbmwXm8DFdCNZl+hgwCg0Mx+ /htJTD1O1rGuaWva7oXCWH8= =S1kK -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Thursday 18 January 2007 19:43, Greg Folkert wrote: > On Thu, 2007-01-18 at 17:39 -0600, jie gong wrote: > > Thanks for the advice. > > I looked at the files under /root, and found > > there is a file .xsession-errors has size 4003647488. > > What is that? Can I delete it? > > That tells me you should not be using X as root. > > Yes you can remove the file... ti probably is full of warnings to not > run "certain program as root". > Either that or he is running programs like kaffeine, kplayer, kmplayer, avidemux ... anything video related it seems which just pile a ton of junk into the .xsessions-errors. The same partition full happened to me running as normal user so using root has nothing to do with it really after I removed the file I linked it to /dev/null which solved the problem. Stephen -- GPG Pubic Key: http://users.eastlink.ca/~stephencormier/publickey.asc pgpFJekVM24TN.pgp Description: PGP signature
Re: Why there is no space left on root partition?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/18/07 17:43, Greg Folkert wrote: > On Thu, 2007-01-18 at 17:39 -0600, jie gong wrote: >> Thanks for the advice. >> I looked at the files under /root, and found >> there is a file .xsession-errors has size 4003647488. >> What is that? Can I delete it? > > That tells me you should not be using X as root. But Microsoft lets me run *anything* as Administrator Why can't I do the same thing in Stupid Old Linux? > Yes you can remove the file... ti probably is full of warnings to not > run "certain program as root". > > You should be using a regular user to do most things and then use "sudo" > for administrative things. > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFsAg9S9HxQb37XmcRAsKyAKDe+9dtq1YriyloVnSpcfNi8rtBzwCbBUps 5HdM0jl9f3XQnnVy0YKH0SI= =DBws -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Why there is no space left on root partition?
On Thu, 2007-01-18 at 17:39 -0600, jie gong wrote: > Thanks for the advice. > I looked at the files under /root, and found > there is a file .xsession-errors has size 4003647488. > What is that? Can I delete it? That tells me you should not be using X as root. Yes you can remove the file... ti probably is full of warnings to not run "certain program as root". You should be using a regular user to do most things and then use "sudo" for administrative things. -- greg, [EMAIL PROTECTED] The technology that is Stronger, better, faster: Linux signature.asc Description: This is a digitally signed message part
Re: Why there is no space left on root partition?
Thanks for the advice. I looked at the files under /root, and found there is a file .xsession-errors has size 4003647488. What is that? Can I delete it? On 1/18/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote: On Thu, Jan 18, 2007 at 05:08:46PM -0600, jie gong wrote: > Hi > I am a newbee to debian linux. I found my root partition is full. > My root partition has 4 GB, but I added the size of files under the root > partition, anyway they did not hit the 4GB, not even close. > Where did the space go? > > Here is some output which may be useful. > command: du -hcs /* > > 3.3M /bin > 5.8M /boot > 128K /dev > 23M /etc > 4.0K /fai > 893M /home > 4.0K /initrd > 44M /lib > 16K /lost+found > 4.0K /media > 4.0K /mnt > 4.0K /opt > 507M /proc > 3.8G /root right here. your /root directory is 3.8G. How did you end up with so much crap in /root? /root is the home directory for the root user and should generally not be that full. regardless though, /root is part of / which is /dev/hda6. You have not mounted /root from another partition. So that 3.8G has taken over your / partition. > > Command: df > > I run df, get the following > Filesystem1K-blocksUsed Available Use% Mounted on > /dev/hda6 4032092 4032092 0 100% / you have not put /root on another partition, so it is part of this one, which is clearly full. A -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFsADLaIeIEqwil4YRAipcAJ44OhTQns+206sjYSTvIrbpxsOpuQCfT+uC cdm2g9HpvHYXgpSqgUls690= =KZJ/ -END PGP SIGNATURE-
RE: Why there is no space left on root partition?
_ From: jie gong [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 3:09 PM To: debian-user@lists.debian.org Subject: Why there is no space left on root partition? Hi I am a newbee to debian linux. I found my root partition is full. My root partition has 4 GB, but I added the size of files under the root partition, anyway they did not hit the 4GB, not even close. Where did the space go? Here is some output which may be useful. command: du -hcs /* 3.3M /bin 5.8M /boot 128K /dev 23M /etc 4.0K /fai 893M /home 4.0K /initrd 44M /lib 16K /lost+found 4.0K /media 4.0K /mnt 4.0K /opt 507M /proc 3.8G /root Looks like the bulk of your root partition is in /root. Did you not notice the G after the 3.8? 9.6M /sbin 4.0K /srv 4.0K /sys 68K /tmp 2.5G /usr 137M /var 0 /vmlinuz 0/vmlinuz.old 7.9G total Command: df I run df, get the following Filesystem1K-blocksUsed Available Use% Mounted on /dev/hda6 4032092 4032092 0 100% / tmpfs 253668 0253668 0% /dev/shm /dev/hda1 77749 10032 63703 14% /boot /dev/hda10 12649928 946956 15744568% /home /dev/hda8 2016016 32876 19831402%/tmp /dev/hda9 15124868263556811720996 19% /usr /dev/hda7 4032092 172316 3654952 5%/var How can I find the missing space? Thanks
Re: Why there is no space left on root partition?
On Thu, Jan 18, 2007 at 05:08:46PM -0600, jie gong wrote: > Hi > I am a newbee to debian linux. I found my root partition is full. > My root partition has 4 GB, but I added the size of files under the root > partition, anyway they did not hit the 4GB, not even close. > Where did the space go? > > Here is some output which may be useful. > command: du -hcs /* > > 3.3M /bin > 5.8M /boot > 128K /dev > 23M /etc > 4.0K /fai > 893M /home > 4.0K /initrd > 44M /lib > 16K /lost+found > 4.0K /media > 4.0K /mnt > 4.0K /opt > 507M /proc > 3.8G /root right here. your /root directory is 3.8G. How did you end up with so much crap in /root? /root is the home directory for the root user and should generally not be that full. regardless though, /root is part of / which is /dev/hda6. You have not mounted /root from another partition. So that 3.8G has taken over your / partition. > > Command: df > > I run df, get the following > Filesystem1K-blocksUsed Available Use% Mounted on > /dev/hda6 4032092 4032092 0 100% / you have not put /root on another partition, so it is part of this one, which is clearly full. A signature.asc Description: Digital signature
Re: Why there is no space left on root partition?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/18/07 17:08, jie gong wrote: > Hi > I am a newbee to debian linux. I found my root partition is full. > My root partition has 4 GB, but I added the size of files under the root > partition, anyway they did not hit the 4GB, not even close. > Where did the space go? > > Here is some output which may be useful. > command: du -hcs /* > > 3.3M /bin > 5.8M /boot > 128K /dev > 23M /etc > 4.0K /fai > 893M /home > 4.0K /initrd > 44M /lib > 16K /lost+found > 4.0K /media > 4.0K /mnt > 4.0K /opt > 507M /proc > 3.8G /root > 9.6M /sbin > 4.0K /srv > 4.0K /sys > 68K /tmp > 2.5G /usr > 137M /var > 0 /vmlinuz > 0/vmlinuz.old > 7.9G total > > Command: df > > I run df, get the following > Filesystem1K-blocksUsed Available Use% Mounted on > /dev/hda6 4032092 4032092 0 100% / > tmpfs 253668 0253668 0% > /dev/shm > /dev/hda1 77749 10032 63703 14% /boot > /dev/hda10 12649928 946956 15744568% /home > /dev/hda8 2016016 32876 19831402%/tmp > /dev/hda9 15124868263556811720996 19% /usr > /dev/hda7 4032092 172316 3654952 5%/var > > How can I find the missing space? The 3.8GB of files under /root looks very suspicious. Another thing I would do is not have so many partitions! If you are a home user installing a lot of packages, Including OpenOffice.org, Java, etc, etc, roll /tmp, /usr & /var back into /, and make / at least 16GB. $ df -m | sort Filesystem 1M-blocks Used Available Use% Mounted on /dev/hda1 452022 48% /boot /dev/hda218778 10900 6925 62% / /dev/hda318778 11942 5883 67% /home /dev/hda4 197129164934 22182 89% /data/01 tmpfs 506 0 506 0% /lib/init/rw tmpfs 506 1 506 1% /dev/shm udev10 110 1% /dev -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFsAFhS9HxQb37XmcRAvFUAKC1W5G8c+eMyE3JLReLio6S4P7GnQCdFPQy v4/fQyX4ZBYCXf6jjp9Xz18= =pDPK -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]