change time and install ssh on zmlarch

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Post Reply
racelife
Posts: 84
Joined: Mon Mar 22, 2010 11:38 pm

change time and install ssh on zmlarch

Post by racelife »

I feel like an Idiot but I can't figure out how to install ssh and also change the time on the hard drive install of the latest zmlarch cd. I have searched and searched on the forums but my brain is starting to hurt. I am kind of new to linux but have had an ubuntu zm systm running for over a year and had a asterix server running for 3+ years. maybe I just haven't slept enough lately.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

its install its just not running.

/etc/rc.d/sshd start

then add it to rc.local

there should be a line that says demons.
racelife
Posts: 84
Joined: Mon Mar 22, 2010 11:38 pm

Post by racelife »

Ok I can start it just fine. (thanks for the help) Now I cant log in as root but after setting a password for user I can log in as user (through ssh) so I can get by with that. I can't find any lines that says demons in /etc/rc.local

I also need help setting the time so the recordings show the correct time.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

Opes
http://wiki.archlinux.org/index.php/Daemon

its in rc.conf file

lookes like
DAEMONS=(syslog-ng network netfs crond)

Also for time do this so it stays accurate.

http://wiki.archlinux.org/index.php/Net ... e_Protocol
racelife
Posts: 84
Joined: Mon Mar 22, 2010 11:38 pm

Post by racelife »

found it was easier than that! started looking around in rc.conf and found all I needed to do was remove the (!) from the front of ssh and add an @ to make it start in the background. and the time was also in there as well just had to change my time zone to MST instead of PST and change -8 to -7.

I just had to catch on to the little things I'm not used to that are in arch.
racelife
Posts: 84
Joined: Mon Mar 22, 2010 11:38 pm

GUI

Post by racelife »

Now if I could just find where to comment out.

" * In an effort to keep the system light, ZMLarch doesn't use a display manager (typical runlevel 5). It's set up so that /etc/inittab runs autologin for 'user', then /home/user/.bash_profile starts X
* To disable X, comment the line out of /home/user/.bash_profile "

I cant seem to find where?
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

If i remember corectly

/etc/inittab

there will be some lins in there for autologin and another as a standard terminal change tty1 to normal session to have termain login prompt from which you can chose to start x or conntinue in terminal
racelife
Posts: 84
Joined: Mon Mar 22, 2010 11:38 pm

Post by racelife »

# -8 options fixes umlauts problem on login
#c1:2345:respawn:/sbin/mingetty --autologin user vc/1 linux
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux


I commented out the line that says autologin and uncommented the line under and that works. the wiki was a little missleading as in /etc/inittab had none of the lines that the wiki stated to change.

Thanks Kingofkya for the extra boost and reassurance to mess around until it worked.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

also from experance don't remove all thouse lins in there.
Post Reply