Re: [qubes-users] Does QubesOs does not source ~/.profile on purpose?

2016-09-20 Thread marc
> the source code of qvm-run is your best documentation of how applications are 
> run without logging in :)
> here is the session that is started in vms. I like the hangman :)
> https://github.com/QubesOS/qubes-gui-agent-linux/blob/master/appvm-scripts/usrbin/qubes-session

Thanks for the link, Connor! Yes, a lot of effort has been put in that hangman 
:D

Looking at it and seeing how beautifully simply it is kept, wouldn't it make 
sense to load from there `/etc/profile` file? (I think usually this file is the 
main responsible of triggering cascade loading of profile files, but correct me 
if I am wrong)

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/799e7396-3993-4a94-acda-84d7f9409d58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Does QubesOs does not source ~/.profile on purpose?

2016-09-20 Thread Connor Page
the source code of qvm-run is your best documentation of how applications are 
run without logging in :)
here is the session that is started in vms. I like the hangman :)
https://github.com/QubesOS/qubes-gui-agent-linux/blob/master/appvm-scripts/usrbin/qubes-session

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/9cf3e541-d1ea-4e56-99f1-42bb8d5bd181%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Does QubesOs does not source ~/.profile on purpose?

2016-09-19 Thread marc
El lunes, 19 de septiembre de 2016, 10:18:42 (UTC+2), Dave Ewart  escribió:

> If you want something common to all your terminals, regardless of VM,
> you can add a file to /etc/profile.d which includes all your common
> content (e.g. aliases)
> 
> I use
> 
> /etc/profile.d/mystuff.sh
> 
> alias h=history ...

Thanks Dave. For me is ok to add what I need in `~/.bashrc`, I was asking just 
out of curiosity. Anyway, I think not loading home profile files breaks with 
the principle of least surprise, but surely supporting it would add some ugly 
hacks in qubes source code.

By the way, can I read somewhere an extension about how `user` user login 
technically happens (or, better said, not happens)?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/b2828068-e7fd-44a9-a0c9-e739d0979c9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Does QubesOs does not source ~/.profile on purpose?

2016-09-19 Thread Dave Ewart
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On Sunday, 18.09.2016 at 11:26 -0700, Connor Page wrote:

> technically the user "user" is not logged in so the profile files are
> not sourced. use .bashrc if you want to modify terminal sessions.

If you want something common to all your terminals, regardless of VM,
you can add a file to /etc/profile.d which includes all your common
content (e.g. aliases)

I use

/etc/profile.d/mystuff.sh

alias h=history ...

[I suppose that, by modifying the template in this manner, you might be
making your system more unique and therefore more identifiable if
there's a compromise.  Not an issue for me, but may be a concern for
some.]

Dave.

- -- 
Dave Ewart da...@sungate.co.uk, http://twitter.com/DaveEwart
All email from me is digitally signed, http://www.sungate.co.uk/
GPG key updated Jan 2013 see http://www.sungate.co.uk/gpg
Fingerprint: CF3A 93EF 01E6 16C5 AE7A  1D27 45E1 E473 378B B197
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQQcBAEBCgAGBQJX359fAAoJEEXh5HM3i7GX5zUf/011o9WGYzxRgw6xX+hf26ds
r10DXjR2yGk1BzSqf5HFlJv8u+nj6T6SFE2CMo+oAKYJ7Qv7sh3h100UDrOKkViO
+YgKtWzH9djWl1kEp8SQQTg2T1gBB8hBG5SK58jTnFJB3C33jrwNp1a5K5SHxtv+
CkIHakp/93SQCht+MRZJi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+UgzidWG94QANrwaZpCWadZQHlidOOooCqZOhC83Q6uKSiDEMfv94eIw+R47
kTCbzvcSlTuLNQj1bflrbWI93auhSIea7iTk/uAW40z61yUJTomOw7/W/eHgg6E=
=N1ZM
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20160919081840.GF11916%40sungate.co.uk.
For more options, visit https://groups.google.com/d/optout.