DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-01-28 11:48:10

vschlenk
Member
Registered: 2011-01-27
Posts: 25

SUDO on DNS-323

I enabled new users on the DNS 4323. I added these to the admin group [500]. They have shell-access [sh] and a home directory, now. SSH-access works.

when I try to do sudo they seem to be not on the sudoers list. I looked in mnt/usbstorage/ffp/etc/ . The file isn't there. I did "find" ....  didn't find either.

Any help on where the sudoers file is or how to alternatively setup a correct sudoers file on own's own?

Thanks a lot in advance,
Volker

Offline

 

#2 2011-01-28 13:54:26

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: SUDO on DNS-323

man sudo
man visudo

Offline

 

#3 2011-01-28 16:15:31

vschlenk
Member
Registered: 2011-01-27
Posts: 25

Re: SUDO on DNS-323

Hi FONZ,

more than honored to have a direct response from the "brain" behind FFP.

I looked into the "man"-pages. I think I have to look deeper as I didn't see a way to create the sudoers list" which should finally be situated at mnt/usbstorage/ffp/etc/sudoers if I am not too far from the truth :-)

thanks,
Volker

b.t.w. ... living in Berlin, also.

Offline

 

#4 2011-01-28 16:21:23

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: SUDO on DNS-323

It should be  /ffp/etc/sudoers
Doesn't matter where you installed ffp.
If it's no there, have you installed the sudo package?

Offline

 

#5 2011-01-28 16:32:15

vschlenk
Member
Registered: 2011-01-27
Posts: 25

Re: SUDO on DNS-323

FONZ,

got it.

thanks a lot, I still keep up mixing up the diffent directory trees....

MOUNT/ffp/....  [MOUNT=/mnt/usbstorage in my case],
MOUNT/ipkg/...

and the REAL tree from flash memory.

It is really a bit confusing :-)

Thx,
Volker

Offline

 

#6 2011-01-28 16:55:23

vschlenk
Member
Registered: 2011-01-27
Posts: 25

Re: SUDO on DNS-323

seems to work [did not yet try out a reboot]

THX,
Volker

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB