Re: [gentoo-user] coda auto-login

2007-03-19 Thread Dirk Heinrichs
Am Sonntag, 18. März 2007 schrieb ext Enrico Weigelt:
 * Dirk Heinrichs [EMAIL PROTECTED] wrote:
  Am Samstag, 24. Februar 2007 schrieb ext Enrico Weigelt:
   But: there's another problem. Every user has to log into coda
   by its own. This is bad if all user's homedirs should sit on coda.
 
  AFAIK there are PAM modules for this. Maybe not in portage, though.

 hmm. would require me to switch over to PAM.

Seems so :-)

 Or maybe I'm going to write my own distributed fs which has full
 unix semantics (via FUSE) ...

Good luck.

  Thought about AFS?

 Has no good caching an disconnected operation, no useless for me.

What's wrong with AFS caching?

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgps8DlTld88a.pgp
Description: PGP signature


Re: [gentoo-user] coda auto-login

2007-03-18 Thread Enrico Weigelt
* Dirk Heinrichs [EMAIL PROTECTED] wrote:
 Am Samstag, 24. Februar 2007 schrieb ext Enrico Weigelt:
 
  But: there's another problem. Every user has to log into coda
  by its own. This is bad if all user's homedirs should sit on coda.
 
 AFAIK there are PAM modules for this. Maybe not in portage, though.

hmm. would require me to switch over to PAM. 

Coda's very unreliable nevertheless, so I'm probably going to write
some management daemon which handles venus startup, logins, 
(dis-)connects, etc.

Or maybe I'm going to write my own distributed fs which has full
unix semantics (via FUSE) ...

 Thought about AFS?

Has no good caching an disconnected operation, no useless for me.


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] coda auto-login

2007-02-25 Thread Dirk Heinrichs
Am Samstag, 24. Februar 2007 schrieb ext Enrico Weigelt:

 But: there's another problem. Every user has to log into coda
 by its own. This is bad if all user's homedirs should sit on coda.

AFAIK there are PAM modules for this. Maybe not in portage, though.

Thought about AFS?

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpfALfmRlcMb.pgp
Description: PGP signature


Re: [gentoo-user] coda auto-login

2007-02-24 Thread Boyd Stephen Smith Jr.
On Friday 23 February 2007 22:18, Jürgen Geuter wrote:
 On Sat, 2007-02-24 at 02:39 +0100, Enrico Weigelt wrote:
   If you need to execute something put it to
   /etc/conf.d/local.start or
   /etc/conf.d/local.stop
 
  Does not fully work, since some services require the coda
  volumes mounted. So my only idea was to change /etc/init.d/venus

Modify those init scripts, adding or changing a 'depends' line.  By default 
init scripts are config protected so your changes will not be overwritten 
willy-nilly.

  But: there's another problem. Every user has to log into coda
  by its own. This is bad if all user's homedirs should sit on coda.

 Put the login thingy as first line in a .-File that is executed upon
 login for every user. .bashrc or something.

If it is really something every local user needs to do, throw it 
in /etc/profile.d -- those files are sourced by /etc/profile, which is read 
by sh, bash, and zsh (at least), for all (?) shells.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 
New GPG Key!  Old key expires 2007-03-25.  Upgrade NOW!


pgp6GVo9GKc88.pgp
Description: PGP signature


[gentoo-user] coda auto-login

2007-02-23 Thread Enrico Weigelt

Hi folks,

how can I do an automatic login on startup ?

thx
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] coda auto-login

2007-02-23 Thread Neil Bothwick
On Fri, 23 Feb 2007 20:58:52 +0100, Enrico Weigelt wrote:

 how can I do an automatic login on startup ?

That depends on where you want to login - console, KDE, GNOME, another WM?


-- 
Neil Bothwick

Blessed be the pessimist for he hath made backups.


signature.asc
Description: PGP signature


Re: [gentoo-user] coda auto-login

2007-02-23 Thread Jürgen Geuter
On Fri, 2007-02-23 at 20:58 +0100, Enrico Weigelt wrote:
 how can I do an automatic login on startup ?

If you need to execute something put it to 
/etc/conf.d/local.start or
/etc/conf.d/local.stop
The it is executed after the other services have been started up.


regards

Jürgen
-- 
ICQ #81510866  -  http://the-gay-bar.com  -  MSN [EMAIL PROTECTED]
   Occam's Razor: 
   -Entia non sunt multiplicanda praeter necessitatem.-


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] coda auto-login

2007-02-23 Thread Ivan Perez

2007/2/23, Neil Bothwick [EMAIL PROTECTED]:


On Fri, 23 Feb 2007 20:58:52 +0100, Enrico Weigelt wrote:

 how can I do an automatic login on startup ?

That depends on where you want to login - console, KDE, GNOME, another WM?



Neil is right. GDM and KDM have their own built-in auto-login mechanisms.
If you're using xdm, I think you'll have to play with the /etc/X11 files a
bit
more.

If you just want a startx with a modified .xinitrc, changing the inittab to
run
whatever you want would suffice. However, doing it in
/etc/conf.d/local.start
or inittab may seem the same but it's not.

Personally, I wouldn't add an autologin command to local.start, since some
services might depend on it to start, and they wouldn't be able until
that command you add to local.start finishes. You would have to force
the creation of a child process, so that the parent can stop and the init
procedure
can go on.

--

Neil Bothwick

Blessed be the pessimist for he hath made backups.




Re: [gentoo-user] coda auto-login

2007-02-23 Thread Enrico Weigelt
* Jürgen Geuter [EMAIL PROTECTED] wrote:
 On Fri, 2007-02-23 at 20:58 +0100, Enrico Weigelt wrote:
  how can I do an automatic login on startup ?
 
 If you need to execute something put it to 
 /etc/conf.d/local.start or
 /etc/conf.d/local.stop
 The it is executed after the other services have been started up.

Does not fully work, since some services require the coda
volumes mounted. So my only idea was to change /etc/init.d/venus

But: there's another problem. Every user has to log into coda
by its own. This is bad if all user's homedirs should sit on coda.


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] coda auto-login

2007-02-23 Thread Jürgen Geuter
On Sat, 2007-02-24 at 02:39 +0100, Enrico Weigelt wrote:
  If you need to execute something put it to 
  /etc/conf.d/local.start or
  /etc/conf.d/local.stop

 Does not fully work, since some services require the coda
 volumes mounted. So my only idea was to change /etc/init.d/venus

Well then you can either copy one of the startscripts, modify it to do
the coda stuff and add it to boot runlevel or

 But: there's another problem. Every user has to log into coda
 by its own. This is bad if all user's homedirs should sit on coda.

Put the login thingy as first line in a .-File that is executed upon
login for every user. .bashrc or something.

regards

Jürgen
-- 
ICQ #81510866  -  http://the-gay-bar.com  -  MSN [EMAIL PROTECTED]
   Occam's Razor: 
   -Entia non sunt multiplicanda praeter necessitatem.-


signature.asc
Description: This is a digitally signed message part