Adding a user account

July 21, 2007

I’ve added a first user account (named after a project I’m currently working on), and gave it permission to execute su and thus become root.

# adduser guava
# addgroup wheel
# adduser guava wheel

For protecting su I also had to uncomment a line in /etc/pam.d/su.

auth        requisite group=wheel debug

Logging in via the Ajax-based virtual console and ssh leads to the two following logged in user entries respectively (CLIENT is placeholder name for my machine at home).

guava    tty1                Sat Jul 21 15:19 - 15:19  (00:00)
guava    ttyp0        CLIENT Sat Jul 21 15:08   still logged in

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: