You are not logged in.

#1 2009-02-18 17:23:38

maltz
Member
Registered: 2009-02-18
Posts: 1

Runlevel 1

I am trying to use the ArchLinux on runlevel 1 to run a simple script and then shutdown. I need that from ArchLinux without asking password or without hitting any button (ENTER) to logon.
how can I do this?
I edited the /etc/inittab and change the runlevel to 1(S) but this is asking me for a password, and changed the line su
to /sbin/sulogin -e

so I moved the /etc/passwd to /etc/passwd.bkp and moved too /etc/shadow to /etc/shadow.bkp

but ArchLinux still asking to me hit ENTER to continue.

Offline

#2 2009-02-19 01:08:42

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Runlevel 1

maltz,

you could perhaps use autologin.c as described by ondope on post 37 here:
http://bbs.archlinux.org/viewtopic.php?id=47962&p=2

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

Board footer

Powered by FluxBB