zonix
02-10-2009, 23:39
Hi,
I have a WL-500gP with Oleg FW release 1.9.2.7-10.
I'm trying to create a non-root user.
I started by creating a group 'users' with addgroup:
> addgroup -g 500 users
And then created user 'fred':
> adduser -h /tmp/harddisk/home/fred -s /bin/sh -G users fred
And then made sure that '/etc/group' and '/etc/passwd' were permantely stored by entering:
> echo /tmp/etc/group >> /tmp/local/.files
> echo /tmp/etc/passwd >> /tmp/local/.files
> flashfs save && flashfs commit && flashfs enable && reboot
After that I could login with user 'fred' but can't su to admin:
> su admin
Password:
cannot set groups: Operation not permitted
Anyone have any idea what might be wrong?
Thanks!
I have a WL-500gP with Oleg FW release 1.9.2.7-10.
I'm trying to create a non-root user.
I started by creating a group 'users' with addgroup:
> addgroup -g 500 users
And then created user 'fred':
> adduser -h /tmp/harddisk/home/fred -s /bin/sh -G users fred
And then made sure that '/etc/group' and '/etc/passwd' were permantely stored by entering:
> echo /tmp/etc/group >> /tmp/local/.files
> echo /tmp/etc/passwd >> /tmp/local/.files
> flashfs save && flashfs commit && flashfs enable && reboot
After that I could login with user 'fred' but can't su to admin:
> su admin
Password:
cannot set groups: Operation not permitted
Anyone have any idea what might be wrong?
Thanks!