PDA

View Full Version : Howto implement those commands?


abinlee
22-11-2005, 11:23
Hi, all ..

I found the lack of commands of 'busybox' in the last firmware.

Is that possible to do the jobs of them? Like:

1. su (change user to admin/root)
2. w/who (show the current login users and where were they from)
3. poweroff/halt (shutdown but not reset)
4. last (list the last logins)


Thanks!

FilimoniC
22-11-2005, 15:13
su works on my router to run eggdrop under not-root user

abinlee
24-11-2005, 06:36
eggdrop ?

Is that a Irc chat software clinet?

'su' means change your account to root/admin after login, why a chat client needs that?

Oleg
24-11-2005, 11:19
'su' means change your account to root/admin after login
su is used to switch to any account.

FilimoniC
24-11-2005, 15:57
Yes,
su Eggdrop_User /opt/eggdrop/runeggdrop.batch &

In runs runeggdrop.batch under Eggdrop_User account in invisible-mode

abinlee
25-11-2005, 07:18
su is used to switch to any account.

Oh, yes..

I made mistake about that..

But mostly, not every user has the priviiege to switch account.
Especially switch to administrator like root or admin.