adduser and rc.d command not found while setting up samba

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

adduser and rc.d command not found while setting up samba

Postby pjmpjm » Thu Jan 31, 2013 1:53 am

adduser: command not found while setting up samba

this is on a Pogo v2

[root@alarm ~]# adduser pcguest
-bash: adduser: command not found
[root@alarm ~]#

this is also the case for rc.d command not found

where can i get adduser and rc.d or is this a out of date configuration guide

further along i will need to edit /etc/cr.conf but this file is not on the system either ??

found this stuff here
http://archlinuxarm.org/support/guides/ ... ions/samba
Last edited by pjmpjm on Thu Jan 31, 2013 4:04 am, edited 1 time in total.
pjmpjm
 
Posts: 4
Joined: Mon Jan 28, 2013 9:31 pm

Re: adduser: command not found while setting up samba

Postby rino » Thu Jan 31, 2013 2:12 am

I had the same problem yesterday, so I decided to skip adduser + setting the password for pcguest step. My samba still works fine without those two steps.
rino
 
Posts: 66
Joined: Mon Jan 07, 2013 3:21 pm

Re: adduser and rc.d command not found while setting up sam

Postby pjmpjm » Thu Jan 31, 2013 4:17 am

hi rino

thanks for the tip

i tried to skip the adduser bit as you suggested but run into the same problem with rc.d
(command not found) and i realize that rc.conf is not there either. this is a configuration file
for services to run on startup samba has to be put in this file to get it to run on startup

i think this setup procedure as in the link above
just does not apply

i have a v2 modified as described in the platforms menu for model E02

anybody had this experience?
pjmpjm
 
Posts: 4
Joined: Mon Jan 28, 2013 9:31 pm

Re: adduser and rc.d command not found while setting up sam

Postby moonman » Thu Jan 31, 2013 6:52 am

the command is useradd and not adduser.

rc.d is not there anymore, it was replaced by systemd. Read through the archwiki.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: adduser and rc.d command not found while setting up sam

Postby rino » Thu Jan 31, 2013 8:35 am

pjmpjm: As moonman mentioned, rc.d was replaced by systemd. What it means is now you have to use:

$this->bbcode_second_pass_code('', 'systemctl [start | stop | restart | enable | disable] smbd')

Try above commands with one of the switches, and it should start up. For making it a daemon process use "enable" switch. Then Start using "start" switch. As long as your paths are set properly and you've used to sample config in the guide, it should work fine. I just finished rebuilding my PP-E02 as well following the guide. It is working fine.
rino
 
Posts: 66
Joined: Mon Jan 07, 2013 3:21 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 305 guests