This is a discussion on $HOME variable gets lost when starting an X session within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> On 02/29/08 16:07, jellybean stonerfish wrote: >>> I su to an ordinary user account when necessary. >> How do ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On 02/29/08 16:07, jellybean stonerfish wrote: >>> I su to an ordinary user account when necessary. >> How do you manage that? If root invokes the command su and then presses >> the carriage return key the result is that one is returned to the >> command line prompt for root, vide: >> root@xxxxx:~# su > > He probably does > > su ordinaryuser > And this is why the OP doesn't get the correct setting for the $HOME variable. su - ordinaryuser Ciao Giovanni -- A computer is like an air conditioner, it stops working when you open Windows. Registered Linux user #337974 < http://giovanni.homelinux.net/ > |
| |||
| Two Ravens wrote: >> NAME >> su - change user ID or become superuser >> >> SYNOPSIS >> su [options] [LOGIN] >> >> So typing >> >> su sally >> >> will prompt me for sallys password or, if I am root, switch me to >> sallys account without prompting (I think). This way one can work all >> ass backwards and ocassionally limit oneself to a user account. > > Oh come on! You don't really expect us to believe that Tom N/Tom > Newton knows how to do that do you? On the other hand he can probably claim that the procedure outlined above was what he meant, as you've now explained it for him. -- Two Ravens "Tom Newton, surely the William Topaz McGonagall of alt.os.linux.slackware, and now, seemingly, comp.os.linux.setup and comp.os.linux.misc.as well!" |
| |||
| Hallo, Handover, Du meintest am 29.02.08: > So typing > su sally > will prompt me for sallys password or, if I am root, switch me to > sallys account without prompting (I think). Better: su - sally Then you get sallys environment too. Viele Gruesse Helmut "Ubuntu" - an African word, meaning "Slackware is too hard for me". |
| |||
| On Feb 29, 6:08 am, Two Ravens <two-rav...@operamail.org> wrote: > Tom N wrote: > > I su to an ordinary user account when necessary. > > How do you manage that? If root invokes the command su and then presses > the carriage return key the result is that one is returned to the > command line prompt for root, vide: > root@xxxxx:~# su > one then presses the carrage return or 'enter key and is then presented > with, the command line prompt for 'root',exit > root@xxxxx:~# > > Do you actually know what you're doing? Do you actually know what you're > talking/writing about? > > -- > Two Ravens > "...hit the squirrel..." I read this in the hopes that you had finally grown up. I'll read another one of your posts, arbitrarily picking one of the aliases you hide behind to sh_t on the Internet, in another few months. But I do have one pressing question, one that I'm sure everyone else wonders about: Who operates your computer for you? Is it your mother? Tom Newton |
| |||
| On Fri, 29 Feb 2008 16:35:39 +0000, Two Ravens wrote: > Is this Tom demonstrating circular thinking? This is no fresh news! > does he su back to root > having used su to become "an ordinary user"? probably for reasons of security thru obscurity > I'd love to see his explanation for this rather convoluted use of root > and one or more 'ordinary users'. > -- > Two Ravens > "Tom Newton, surely the William Topaz McGonagall .... beware, you're starting to use it as a sigfile, he'll soon be on FoXnooz then Oprahz and he'll be the next prez! Do beware # |
| |||
| On 2008-02-29, Tom N <simpleman.s43@gmail.com> wrote: > > I run as root. A lot of people do. Why shouldn't I? I AM root here. Please note to newbies: Do not take ''Tom's'' advice. Do *not* run as root. If you're like me, and not ''Tom'', then you're not perfect, will make a mistake, and if you do it as root you're b0rked. > I su to an ordinary user account when necessary. That's completely idiotic. How could it possibly be necessary? > KISS and ignore the numerous paranoids in the computer > world, for the most part. KISS practically demands that you do everything as a regular user except that which requires root privileges. --keith -- kkeller-usenet@wombat.san-francisco.ca.us (try just my userid to email me) AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt see X- headers for PGP signature information |
| |||
| Tom N, calhobbit@gmail.com wrote: > I'll read another one of your posts, *arbitrarily picking one of > the aliases you hide behind to sh_t on the Internet, in another > few months. Perhaps you'd care to inform us all of any of the other "aliases" I "hide behind to sh_t on the Internet". > Who operates your computer for you? > > Is it your mother? My mother died thirty years ago, I'm afraid I'm that I stuck being one of those couch potato KDE users you spend so much energy railing against. loki harfagr wrote: > beware, you're starting to use it as a sigfile, he'll soon > be on FoXnooz then Oprahz and he'll be the next prez! See new sig below! -- Two Ravens "Tom Newton, surely the William Topaz McGonagall of alt.os.linux.slackware, and now, seemingly, comp.os.linux.setup and comp.os.linux.misc.as well!" |
| |||
| Tom N <simpleman.s43@gmail.com> wrote: >I run as root. A lot of people do. Why shouldn't I? I AM root here. This is generally a bad idea--just look at Windows. Unix, Linux, BSD, and Mac OSX don't run you as root by default. Remember, when you run a program as root, you are giving that program root privileges. This means you trust it completely with your system. You trust it to not install backdoors, to not transfer private files, to not add your machine to a spam botnet. Experienced Un*x users don't run as root unless they have to. -Beej |
| |||
| On Fri, 29 Feb 2008 09:45:29 -0800, Tom N wrote: > I read this in the hopes that you had finally grown up. You read every post here, from every poster, doofus. Hey, Alan.... how come you're posting from Google Gropes? Did you get banned by another NSP/ISP ? LOL Alan Connor (Tom Newton)'s brain after using ODE too long: http://brandybuck.890m.com/pics/homer.jpg -- "Tom N" ("Tom Newton") - the latest nymshift of "Alan Connor". Read more about the netkook Alan Connor here: http://www.pearlgates.net/nanae/kooks/ac/fga.shtml Email him: calhobbit@gmail.com or simpleman.s43@gmail.com |
| ||||
| Dan C wrote: > Hey, Alan.... how come you're posting from Google Gropes? *Did you get > banned by another NSP/ISP ? *LOL That's hardly fair on poor old Tom now is it Dan? You know, despite having it explained to him, that he can't tell the difference between us. -- Two Ravens "Tom Newton, surely the William Topaz McGonagall of alt.os.linux.slackware, and now, seemingly, comp.os.linux.setup and comp.os.linux.misc.as well!" |
| Thread Tools | |
| Display Modes | |
|
|