public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] coda auto-login
@ 2007-02-23 19:58 Enrico Weigelt
  2007-02-23 20:19 ` Neil Bothwick
  2007-02-23 20:46 ` Jürgen Geuter
  0 siblings, 2 replies; 10+ messages in thread
From: Enrico Weigelt @ 2007-02-23 19:58 UTC (permalink / raw
  To: gentoo-user


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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] coda auto-login
  2007-02-23 19:58 [gentoo-user] coda auto-login Enrico Weigelt
@ 2007-02-23 20:19 ` Neil Bothwick
  2007-02-23 21:03   ` Ivan Perez
  2007-02-23 20:46 ` Jürgen Geuter
  1 sibling, 1 reply; 10+ messages in thread
From: Neil Bothwick @ 2007-02-23 20:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 265 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] coda auto-login
  2007-02-23 19:58 [gentoo-user] coda auto-login Enrico Weigelt
  2007-02-23 20:19 ` Neil Bothwick
@ 2007-02-23 20:46 ` Jürgen Geuter
  2007-02-24  1:39   ` Enrico Weigelt
  1 sibling, 1 reply; 10+ messages in thread
From: Jürgen Geuter @ 2007-02-23 20:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

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 tante@emptiness.de
   Occam's Razor: 
       -"Entia non sunt multiplicanda praeter necessitatem."-

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] coda auto-login
  2007-02-23 20:19 ` Neil Bothwick
@ 2007-02-23 21:03   ` Ivan Perez
  0 siblings, 0 replies; 10+ messages in thread
From: Ivan Perez @ 2007-02-23 21:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

2007/2/23, Neil Bothwick <neil@digimed.co.uk>:
>
> 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.
>
>

[-- Attachment #2: Type: text/html, Size: 1463 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] coda auto-login
  2007-02-23 20:46 ` Jürgen Geuter
@ 2007-02-24  1:39   ` Enrico Weigelt
  2007-02-24  4:18     ` Jürgen Geuter
  2007-02-26  6:56     ` Dirk Heinrichs
  0 siblings, 2 replies; 10+ messages in thread
From: Enrico Weigelt @ 2007-02-24  1:39 UTC (permalink / raw
  To: gentoo-user

* Jürgen Geuter <tante@emptiness.de> 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] coda auto-login
  2007-02-24  1:39   ` Enrico Weigelt
@ 2007-02-24  4:18     ` Jürgen Geuter
  2007-02-24 10:47       ` Boyd Stephen Smith Jr.
  2007-02-26  6:56     ` Dirk Heinrichs
  1 sibling, 1 reply; 10+ messages in thread
From: Jürgen Geuter @ 2007-02-24  4:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

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 tante@emptiness.de
   Occam's Razor: 
       -"Entia non sunt multiplicanda praeter necessitatem."-

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] coda auto-login
  2007-02-24  4:18     ` Jürgen Geuter
@ 2007-02-24 10:47       ` Boyd Stephen Smith Jr.
  0 siblings, 0 replies; 10+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-02-24 10:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]

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.                     ,= ,-_-. =. 
bss03@volumehost.net                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
http://iguanasuicide.org/                      \_/     
New GPG Key!  Old key expires 2007-03-25.  Upgrade NOW!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] coda auto-login
  2007-02-24  1:39   ` Enrico Weigelt
  2007-02-24  4:18     ` Jürgen Geuter
@ 2007-02-26  6:56     ` Dirk Heinrichs
  2007-03-18 16:57       ` Enrico Weigelt
  1 sibling, 1 reply; 10+ messages in thread
From: Dirk Heinrichs @ 2007-02-26  6:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

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: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] coda auto-login
  2007-02-26  6:56     ` Dirk Heinrichs
@ 2007-03-18 16:57       ` Enrico Weigelt
  2007-03-19 13:10         ` Dirk Heinrichs
  0 siblings, 1 reply; 10+ messages in thread
From: Enrico Weigelt @ 2007-03-18 16:57 UTC (permalink / raw
  To: gentoo-user

* Dirk Heinrichs <ext-dirk.heinrichs@nokia.com> 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



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] coda auto-login
  2007-03-18 16:57       ` Enrico Weigelt
@ 2007-03-19 13:10         ` Dirk Heinrichs
  0 siblings, 0 replies; 10+ messages in thread
From: Dirk Heinrichs @ 2007-03-19 13:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]

Am Sonntag, 18. März 2007 schrieb ext Enrico Weigelt:
> * Dirk Heinrichs <ext-dirk.heinrichs@nokia.com> 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: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-03-19 13:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-23 19:58 [gentoo-user] coda auto-login Enrico Weigelt
2007-02-23 20:19 ` Neil Bothwick
2007-02-23 21:03   ` Ivan Perez
2007-02-23 20:46 ` Jürgen Geuter
2007-02-24  1:39   ` Enrico Weigelt
2007-02-24  4:18     ` Jürgen Geuter
2007-02-24 10:47       ` Boyd Stephen Smith Jr.
2007-02-26  6:56     ` Dirk Heinrichs
2007-03-18 16:57       ` Enrico Weigelt
2007-03-19 13:10         ` Dirk Heinrichs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox