hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Full Version: Add User
blahplok
need help, i am new in linux.
when i have a shell, i need add new user in victim, but i don't know the command for it, can any1 help me?
GAN_GR33N
adduser
TK_man
No offense man, but c'mon. GOt a shell, but don't know how to add a user? THink you got your priorities a little backward. First master the OS, then begin exploring the world. Just my 2 cents....
Digital_Spirit
TK is right, I am not a flamer by any means, but if you don't know how to use basic
Unix commands, it is not wise trying to exploit the entire OS. Lookup some info
on basic unix commands, get a copy for yourself, or at least Cygwin and practice.
sevenvirtues
i wonder how you can own a box if one doesnt know basic commands..heheheheh...physical access?heheheh

tnx. biggrin.gif
Digital_Spirit

Cat /etc/passwd I guess, lol. tongue.gif
Blade
Adding a User for Daily Use

Working as root on a Unix/Linux system is dangerous and should be avoided as much as possible. Therefore it is strongly recommended to add a user for day-to-day use.

For instance, to create a user called john who is member of the wheel group (be able to change to root using su), users group (default for all users) and audio group (be able to use audio devices), log in as root first (only root can create users):

CODE

Login: root
Password: (Your root password)

# useradd john -m -G users,wheel,audio,tty -s /bin/bash
# passwd john
Password: (Enter the password for john)
Re-enter password: (Re-enter the password to verify)

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.