Madzo
Vu+ Newbie
Here are couple of useful Linux commands that can be used to maintain your Vu+ boxes
I found bits and pieces of code across the web so i have decided to put them all on one place.
Use ssh connection.
LOGIN AS ROOT :
ssh root@192.168.0.xxx
(your box internal ip address, ssh must be allowed in box menu)
VIEW ALL EXISTING USERS:
cut -d: -f1 /etc/passwd
ADD NEW USER:
adduser any_user_name (any_user_name - the name you're adding & will be asked for password twice)
CHANGE PASSWORD OF USER:
passwd any_user_name (will be asked for new password twice)
CHANGE USER DETAILS:
chfn any_user_name
DELETE USER:
userdel any_user_name
DELETE DIRECTORY OF DELETED USER:
rm -r /home/any_user_name
TO LOG OUT:
exit
I found bits and pieces of code across the web so i have decided to put them all on one place.
Use ssh connection.
LOGIN AS ROOT :
ssh root@192.168.0.xxx
(your box internal ip address, ssh must be allowed in box menu)
VIEW ALL EXISTING USERS:
cut -d: -f1 /etc/passwd
ADD NEW USER:
adduser any_user_name (any_user_name - the name you're adding & will be asked for password twice)
CHANGE PASSWORD OF USER:
passwd any_user_name (will be asked for new password twice)
CHANGE USER DETAILS:
chfn any_user_name
DELETE USER:
userdel any_user_name
DELETE DIRECTORY OF DELETED USER:
rm -r /home/any_user_name
TO LOG OUT:
exit
Last edited by a moderator: