After Work
The best club in Chicago
for Chicago Singles is
Highlife Adventures!
Single Women
Kyoto Sushi
in Chicago, on Lincoln Ave.
Moody's Pub
in Chicago, has great burgers
Skylark
in Chicago, on Halsted .. excellent beer selection!
|
UNIX
»
Commands
»
Basics
»
User Accounts
Adding a unix account involves creating the login and home directory,
assigning a group, adding a description, and setting the password. The
.profile script should then be placed in the home directory.
# add jsmith account .. the -m parm forces the home dir creation
useradd -c "Jim Smith" -d /home/jsmith -m -s "/usr/bin/ksh" jsmith
# change group for jsmith
chgrp staff jsmith
# change jsmith password
passwd jsmith
# change jsmith description
usermod -c "J.Smith" jsmith
# remove ksmith account
userdel ksmith
# display user accounts
cat /etc/passwd
/* here is a sample .profile script, for sh or ksh */
stty istrip
stty erase ^H
PATH=/usr/bin:/usr/ucb:/etc:/usr/lib/scripts:/usr/sbin:.
export PATH
PS1='BOXNAME:$PWD>'
export PS1
|
|
|
|