Home » Questions » Computers [ Ask a new question ]

How do I create a new user account on an Ubuntu Hardy server?

How do I create a new user account on an Ubuntu Hardy server?

logged in as root, environmental variables are great. I typed "set"

Asked by: Guest | Views: 426
Total answers/comments: 3
bert [Entry]

"All your users (assuming you're using bash) will execute /etc/profile on login. You may also need to set up your ~/.profile file. To do that you could copy root's profile or capture the output of (run as root):

set

and then edit that file to incorporate it into alex's .profile."
bert [Entry]

"First, check and see what's in /etc/profile.

Next, what shell does your alex user have set in /etc/passwd? Try looking at the appropriate rc file for whichever shell is set - for instance, if using bash, look for the default bashrc file (oftentimes at /etc/bashrc or a similar path). Likewise for other shells and their default startup scripts."
bert [Entry]

"You wanted to use the adduser command.

justin@eee:~$ man useradd|grep DESC -A 1
DESCRIPTION
useradd is a low level utility for adding users. On Debian, administrators
should usually use adduser(8) instead."
"You wanted to use the adduser command.

justin@eee:~$ man useradd|grep DESC -A 1
DESCRIPTION
useradd is a low level utility for adding users. On Debian, administrators
should usually use adduser(8) instead."