Журнал лабораторных работ

Содержание

Журнал

Четверг (05/20/10)

/dev/ttyp1
11:15:15
$adduser
adduser: ERROR: you must be the super-user (uid 0) to use this utility.
/dev/ttyp3
11:15:15
$adduser
adduser: ERROR: you must be the super-user (uid 0) to use this utility.
/dev/ttyp1
11:15:41
$su - adduser
su: Sorry
/dev/ttyp3
11:15:41
$su - adduser
su: Sorry
/dev/ttyp1
11:15:41
$su - adduser
su: Sorry
/dev/ttyp3
11:15:41
$su - adduser
su: Sorry
/dev/ttyp1
11:15:41
$su - adduser
su: Sorry
/dev/ttyp3
11:15:41
$su - adduser
su: Sorry
/dev/ttyp1
11:15:41
$su - adduser
su: Sorry
/dev/ttyp3
11:15:41
$su - adduser
su: Sorry
/dev/ttyp1
11:15:41
$su - adduser
su: Sorry
/dev/ttyp3
11:15:41
$su - adduser
su: Sorry
/dev/ttyp1
11:15:41
$su - adduser
su: Sorry
/dev/ttyp3
11:15:41
$su - adduser
su: Sorry
/dev/ttyp1
11:15:48
$su adduser
su: Sorry
/dev/ttyp3
11:15:48
$su adduser
su: Sorry
/dev/ttyp1
11:15:48
$su adduser
su: Sorry
/dev/ttyp3
11:15:48
$su adduser
su: Sorry
/dev/ttyp1
11:15:48
$su adduser
su: Sorry
/dev/ttyp3
11:15:48
$su adduser
su: Sorry
/dev/ttyp1
11:15:48
$su adduser
su: Sorry
/dev/ttyp3
11:15:48
$su adduser
su: Sorry
/dev/ttyp1
11:15:56
$sudo adduser
Username: ^C
/dev/ttyp3
11:15:56
$sudo adduser
Username: ^C
/dev/ttyp1
11:15:56
$sudo adduser
Username: ^C
/dev/ttyp3
11:15:56
$sudo adduser
Username: ^C
/dev/ttyp1
11:15:56
$sudo adduser
Username: ^C
/dev/ttyp3
11:15:56
$sudo adduser
Username: ^C
/dev/ttyp1
11:15:56
$sudo adduser
Username: ^C
/dev/ttyp3
11:15:56
$sudo adduser
Username: ^C
/dev/ttyp1
11:15:56
$sudo adduser
Username: ^C
/dev/ttyp3
11:15:56
$sudo adduser
Username: ^C
/dev/ttyp1
11:15:56
$sudo adduser
Username: ^C
/dev/ttyp3
11:15:56
$sudo adduser
Username: ^C
/dev/ttyp1
11:17:09
$cat /usr/local/etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
...
root    ALL=(ALL) SETENV: ALL
user    ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel        ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
/dev/ttyp3
11:17:09
$cat /usr/local/etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
...
root    ALL=(ALL) SETENV: ALL
user    ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel        ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
/dev/ttyp1
11:17:09
$cat /usr/local/etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
...
root    ALL=(ALL) SETENV: ALL
user    ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel        ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
/dev/ttyp3
11:17:09
$cat /usr/local/etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
...
root    ALL=(ALL) SETENV: ALL
user    ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel        ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
/dev/ttyp1
11:17:09
$cat /usr/local/etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
...
root    ALL=(ALL) SETENV: ALL
user    ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel        ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
/dev/ttyp3
11:17:09
$cat /usr/local/etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
...
root    ALL=(ALL) SETENV: ALL
user    ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel        ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
/dev/ttyp1
11:17:09
$cat /usr/local/etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
...
root    ALL=(ALL) SETENV: ALL
user    ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel        ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
/dev/ttyp3
11:17:09
$cat /usr/local/etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
...
root    ALL=(ALL) SETENV: ALL
user    ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel        ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
/dev/ttyp1
11:17:09
$cat /usr/local/etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
...
root    ALL=(ALL) SETENV: ALL
user    ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel        ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
/dev/ttyp3
11:17:09
$cat /usr/local/etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
...
root    ALL=(ALL) SETENV: ALL
user    ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel        ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
/dev/ttyp1
11:17:09
$cat /usr/local/etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
...
root    ALL=(ALL) SETENV: ALL
user    ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel        ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
/dev/ttyp3
11:17:09
$cat /usr/local/etc/sudoers
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
...
root    ALL=(ALL) SETENV: ALL
user    ALL=(ALL) SETENV: ALL
# Uncomment to allow people in group wheel to run all commands
# and set environment variables.
# %wheel        ALL=(ALL) SETENV: ALL
# Same thing without a password
# %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
/dev/ttyp1
11:17:17
$sudo adduser
Username: user1
Full name: Al
Uid (Leave empty for default):
Login group [user1]:
Login group is user1. Invite user1 into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash rbash nologin) [sh]: bash
Home directory [/home/user1]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]: no
...
Class      :
Groups     : user1
Home       : /home/user1
Shell      : /usr/local/bin/bash
Locked     : no
OK? (yes/no): ok
OK? (yes/no): yes
adduser: INFO: Successfully added (user1) to the user database.
Add another user? (yes/no): no
Goodbye!
/dev/ttyp3
11:17:17
$sudo adduser
Username: user1
Full name: Al
Uid (Leave empty for default):
Login group [user1]:
Login group is user1. Invite user1 into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash rbash nologin) [sh]: bash
Home directory [/home/user1]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]: no
...
Class      :
Groups     : user1
Home       : /home/user1
Shell      : /usr/local/bin/bash
Locked     : no
OK? (yes/no): ok
OK? (yes/no): yes
adduser: INFO: Successfully added (user1) to the user database.
Add another user? (yes/no): no
Goodbye!
/dev/ttyp1
11:17:17
$sudo adduser
Username: user1
Full name: Al
Uid (Leave empty for default):
Login group [user1]:
Login group is user1. Invite user1 into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash rbash nologin) [sh]: bash
Home directory [/home/user1]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]: no
...
Class      :
Groups     : user1
Home       : /home/user1
Shell      : /usr/local/bin/bash
Locked     : no
OK? (yes/no): ok
OK? (yes/no): yes
adduser: INFO: Successfully added (user1) to the user database.
Add another user? (yes/no): no
Goodbye!
/dev/ttyp3
11:17:17
$sudo adduser
Username: user1
Full name: Al
Uid (Leave empty for default):
Login group [user1]:
Login group is user1. Invite user1 into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash rbash nologin) [sh]: bash
Home directory [/home/user1]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]: no
...
Class      :
Groups     : user1
Home       : /home/user1
Shell      : /usr/local/bin/bash
Locked     : no
OK? (yes/no): ok
OK? (yes/no): yes
adduser: INFO: Successfully added (user1) to the user database.
Add another user? (yes/no): no
Goodbye!
/dev/ttyp1
11:17:17
$sudo adduser
Username: user1
Full name: Al
Uid (Leave empty for default):
Login group [user1]:
Login group is user1. Invite user1 into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash rbash nologin) [sh]: bash
Home directory [/home/user1]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]: no
...
Class      :
Groups     : user1
Home       : /home/user1
Shell      : /usr/local/bin/bash
Locked     : no
OK? (yes/no): ok
OK? (yes/no): yes
adduser: INFO: Successfully added (user1) to the user database.
Add another user? (yes/no): no
Goodbye!
/dev/ttyp3
11:17:17
$sudo adduser
Username: user1
Full name: Al
Uid (Leave empty for default):
Login group [user1]:
Login group is user1. Invite user1 into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash rbash nologin) [sh]: bash
Home directory [/home/user1]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]: no
...
Class      :
Groups     : user1
Home       : /home/user1
Shell      : /usr/local/bin/bash
Locked     : no
OK? (yes/no): ok
OK? (yes/no): yes
adduser: INFO: Successfully added (user1) to the user database.
Add another user? (yes/no): no
Goodbye!
/dev/ttyp1
11:17:17
$sudo adduser
Username: user1
Full name: Al
Uid (Leave empty for default):
Login group [user1]:
Login group is user1. Invite user1 into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash rbash nologin) [sh]: bash
Home directory [/home/user1]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]: no
...
Class      :
Groups     : user1
Home       : /home/user1
Shell      : /usr/local/bin/bash
Locked     : no
OK? (yes/no): ok
OK? (yes/no): yes
adduser: INFO: Successfully added (user1) to the user database.
Add another user? (yes/no): no
Goodbye!
/dev/ttyp3
11:17:17
$sudo adduser
Username: user1
Full name: Al
Uid (Leave empty for default):
Login group [user1]:
Login group is user1. Invite user1 into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash rbash nologin) [sh]: bash
Home directory [/home/user1]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]: no
...
Class      :
Groups     : user1
Home       : /home/user1
Shell      : /usr/local/bin/bash
Locked     : no
OK? (yes/no): ok
OK? (yes/no): yes
adduser: INFO: Successfully added (user1) to the user database.
Add another user? (yes/no): no
Goodbye!
/dev/ttyp1
11:17:17
$sudo adduser
Username: user1
Full name: Al
Uid (Leave empty for default):
Login group [user1]:
Login group is user1. Invite user1 into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash rbash nologin) [sh]: bash
Home directory [/home/user1]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]: no
...
Class      :
Groups     : user1
Home       : /home/user1
Shell      : /usr/local/bin/bash
Locked     : no
OK? (yes/no): ok
OK? (yes/no): yes
adduser: INFO: Successfully added (user1) to the user database.
Add another user? (yes/no): no
Goodbye!
/dev/ttyp3
11:17:17
$sudo adduser
Username: user1
Full name: Al
Uid (Leave empty for default):
Login group [user1]:
Login group is user1. Invite user1 into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash rbash nologin) [sh]: bash
Home directory [/home/user1]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]: no
...
Class      :
Groups     : user1
Home       : /home/user1
Shell      : /usr/local/bin/bash
Locked     : no
OK? (yes/no): ok
OK? (yes/no): yes
adduser: INFO: Successfully added (user1) to the user database.
Add another user? (yes/no): no
Goodbye!
/dev/ttyp1
11:17:17
$sudo adduser
Username: user1
Full name: Al
Uid (Leave empty for default):
Login group [user1]:
Login group is user1. Invite user1 into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash rbash nologin) [sh]: bash
Home directory [/home/user1]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]: no
...
Class      :
Groups     : user1
Home       : /home/user1
Shell      : /usr/local/bin/bash
Locked     : no
OK? (yes/no): ok
OK? (yes/no): yes
adduser: INFO: Successfully added (user1) to the user database.
Add another user? (yes/no): no
Goodbye!
/dev/ttyp3
11:17:17
$sudo adduser
Username: user1
Full name: Al
Uid (Leave empty for default):
Login group [user1]:
Login group is user1. Invite user1 into other groups? []:
Login class [default]:
Shell (sh csh tcsh bash rbash nologin) [sh]: bash
Home directory [/home/user1]:
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]: no
...
Class      :
Groups     : user1
Home       : /home/user1
Shell      : /usr/local/bin/bash
Locked     : no
OK? (yes/no): ok
OK? (yes/no): yes
adduser: INFO: Successfully added (user1) to the user database.
Add another user? (yes/no): no
Goodbye!
/dev/ttyp1
11:19:10
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
user1:*:1002:1002:Al:/home/user1:/usr/local/bin/bash
/dev/ttyp3
11:19:10
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
user1:*:1002:1002:Al:/home/user1:/usr/local/bin/bash
/dev/ttyp1
11:19:10
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
user1:*:1002:1002:Al:/home/user1:/usr/local/bin/bash
/dev/ttyp3
11:19:10
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
user1:*:1002:1002:Al:/home/user1:/usr/local/bin/bash
/dev/ttyp1
11:19:10
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
user1:*:1002:1002:Al:/home/user1:/usr/local/bin/bash
/dev/ttyp3
11:19:10
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
user1:*:1002:1002:Al:/home/user1:/usr/local/bin/bash
/dev/ttyp1
11:19:10
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
user1:*:1002:1002:Al:/home/user1:/usr/local/bin/bash
/dev/ttyp3
11:19:10
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
user1:*:1002:1002:Al:/home/user1:/usr/local/bin/bash
/dev/ttyp1
11:19:10
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
user1:*:1002:1002:Al:/home/user1:/usr/local/bin/bash
/dev/ttyp3
11:19:10
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
user1:*:1002:1002:Al:/home/user1:/usr/local/bin/bash
/dev/ttyp1
11:19:10
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
user1:*:1002:1002:Al:/home/user1:/usr/local/bin/bash
/dev/ttyp3
11:19:10
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
user1:*:1002:1002:Al:/home/user1:/usr/local/bin/bash
/dev/ttyp1
11:19:21
$sudo rmuser user1
Matching password entry:
user1:*:1002:1002::0:0:Al:/home/user1:/usr/local/bin/bash
Is this the entry you wish to remove?
Is this the entry you wish to remove? yes
Remove user's home directory (/home/user1)? yes
Removing user (user1): mailspool home passwd.
/dev/ttyp3
11:19:21
$sudo rmuser user1
Matching password entry:
user1:*:1002:1002::0:0:Al:/home/user1:/usr/local/bin/bash
Is this the entry you wish to remove?
Is this the entry you wish to remove? yes
Remove user's home directory (/home/user1)? yes
Removing user (user1): mailspool home passwd.
/dev/ttyp1
11:19:21
$sudo rmuser user1
Matching password entry:
user1:*:1002:1002::0:0:Al:/home/user1:/usr/local/bin/bash
Is this the entry you wish to remove?
Is this the entry you wish to remove? yes
Remove user's home directory (/home/user1)? yes
Removing user (user1): mailspool home passwd.
/dev/ttyp3
11:19:21
$sudo rmuser user1
Matching password entry:
user1:*:1002:1002::0:0:Al:/home/user1:/usr/local/bin/bash
Is this the entry you wish to remove?
Is this the entry you wish to remove? yes
Remove user's home directory (/home/user1)? yes
Removing user (user1): mailspool home passwd.
/dev/ttyp1
11:19:21
$sudo rmuser user1
Matching password entry:
user1:*:1002:1002::0:0:Al:/home/user1:/usr/local/bin/bash
Is this the entry you wish to remove?
Is this the entry you wish to remove? yes
Remove user's home directory (/home/user1)? yes
Removing user (user1): mailspool home passwd.
/dev/ttyp3
11:19:21
$sudo rmuser user1
Matching password entry:
user1:*:1002:1002::0:0:Al:/home/user1:/usr/local/bin/bash
Is this the entry you wish to remove?
Is this the entry you wish to remove? yes
Remove user's home directory (/home/user1)? yes
Removing user (user1): mailspool home passwd.
/dev/ttyp1
11:19:21
$sudo rmuser user1
Matching password entry:
user1:*:1002:1002::0:0:Al:/home/user1:/usr/local/bin/bash
Is this the entry you wish to remove?
Is this the entry you wish to remove? yes
Remove user's home directory (/home/user1)? yes
Removing user (user1): mailspool home passwd.
/dev/ttyp3
11:19:21
$sudo rmuser user1
Matching password entry:
user1:*:1002:1002::0:0:Al:/home/user1:/usr/local/bin/bash
Is this the entry you wish to remove?
Is this the entry you wish to remove? yes
Remove user's home directory (/home/user1)? yes
Removing user (user1): mailspool home passwd.
/dev/ttyp1
11:19:21
$sudo rmuser user1
Matching password entry:
user1:*:1002:1002::0:0:Al:/home/user1:/usr/local/bin/bash
Is this the entry you wish to remove?
Is this the entry you wish to remove? yes
Remove user's home directory (/home/user1)? yes
Removing user (user1): mailspool home passwd.
/dev/ttyp3
11:19:21
$sudo rmuser user1
Matching password entry:
user1:*:1002:1002::0:0:Al:/home/user1:/usr/local/bin/bash
Is this the entry you wish to remove?
Is this the entry you wish to remove? yes
Remove user's home directory (/home/user1)? yes
Removing user (user1): mailspool home passwd.
/dev/ttyp1
11:19:21
$sudo rmuser user1
Matching password entry:
user1:*:1002:1002::0:0:Al:/home/user1:/usr/local/bin/bash
Is this the entry you wish to remove?
Is this the entry you wish to remove? yes
Remove user's home directory (/home/user1)? yes
Removing user (user1): mailspool home passwd.
/dev/ttyp3
11:19:21
$sudo rmuser user1
Matching password entry:
user1:*:1002:1002::0:0:Al:/home/user1:/usr/local/bin/bash
Is this the entry you wish to remove?
Is this the entry you wish to remove? yes
Remove user's home directory (/home/user1)? yes
Removing user (user1): mailspool home passwd.
/dev/ttyp1
11:20:01
$sudo adduser
Username: Semen Gorbunkov
Full name: Semen Gorgunkov
Uid (Leave empty for default): ^C
/dev/ttyp3
11:20:01
$sudo adduser
Username: Semen Gorbunkov
Full name: Semen Gorgunkov
Uid (Leave empty for default): ^C
/dev/ttyp1
11:20:01
$sudo adduser
Username: Semen Gorbunkov
Full name: Semen Gorgunkov
Uid (Leave empty for default): ^C
/dev/ttyp3
11:20:01
$sudo adduser
Username: Semen Gorbunkov
Full name: Semen Gorgunkov
Uid (Leave empty for default): ^C
/dev/ttyp1
11:20:01
$sudo adduser
Username: Semen Gorbunkov
Full name: Semen Gorgunkov
Uid (Leave empty for default): ^C
/dev/ttyp3
11:20:01
$sudo adduser
Username: Semen Gorbunkov
Full name: Semen Gorgunkov
Uid (Leave empty for default): ^C
/dev/ttyp1
11:20:01
$sudo adduser
Username: Semen Gorbunkov
Full name: Semen Gorgunkov
Uid (Leave empty for default): ^C
/dev/ttyp3
11:20:01
$sudo adduser
Username: Semen Gorbunkov
Full name: Semen Gorgunkov
Uid (Leave empty for default): ^C
/dev/ttyp1
11:20:01
$sudo adduser
Username: Semen Gorbunkov
Full name: Semen Gorgunkov
Uid (Leave empty for default): ^C
/dev/ttyp3
11:20:01
$sudo adduser
Username: Semen Gorbunkov
Full name: Semen Gorgunkov
Uid (Leave empty for default): ^C
/dev/ttyp1
11:20:01
$sudo adduser
Username: Semen Gorbunkov
Full name: Semen Gorgunkov
Uid (Leave empty for default): ^C
/dev/ttyp3
11:20:01
$sudo adduser
Username: Semen Gorbunkov
Full name: Semen Gorgunkov
Uid (Leave empty for default): ^C
/dev/ttyp1
11:21:12
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
_dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
/dev/ttyp3
11:21:12
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
_dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
/dev/ttyp1
11:21:12
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
_dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
/dev/ttyp3
11:21:12
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
_dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
/dev/ttyp1
11:21:12
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
_dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
/dev/ttyp3
11:21:12
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
_dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
/dev/ttyp1
11:21:12
$cat /etc/passwd
# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/usr/local/bin/bash
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5:System &:/:/usr/sbin/nologin
bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
...
_dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin
uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash

Файлы

  • /etc/passwd
  • /usr/local/etc/sudoers
  • /etc/passwd
    >
    # $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
    #
    root:*:0:0:Charlie &:/root:/usr/local/bin/bash
    toor:*:0:0:Bourne-again Superuser:/root:
    daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin
    operator:*:2:5:System &:/:/usr/sbin/nologin
    bin:*:3:7:Binaries Commands and Source:/:/usr/sbin/nologin
    tty:*:4:65533:Tty Sandbox:/:/usr/sbin/nologin
    kmem:*:5:65533:KMem Sandbox:/:/usr/sbin/nologin
    games:*:7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
    news:*:8:8:News Subsystem:/:/usr/sbin/nologin
    man:*:9:9:Mister Man Pages:/usr/share/man:/usr/sbin/nologin
    sshd:*:22:22:Secure Shell Daemon:/var/empty:/usr/sbin/nologin
    smmsp:*:25:25:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin
    mailnull:*:26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin
    bind:*:53:53:Bind Sandbox:/:/usr/sbin/nologin
    proxy:*:62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin
    _pflogd:*:64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin
    _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin
    uucp:*:66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
    pop:*:68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
    www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
    nobody:*:65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
    messagebus:*:556:556:D-BUS Daemon User:/nonexistent:/sbin/nologin
    polkit:*:562:562:PolicyKit Daemon User:/nonexistent:/sbin/nologin
    avahi:*:558:558:Avahi Daemon User:/nonexistent:/sbin/nologin
    gdm:*:92:92:GNOME Display Manager:/nonexistent:/sbin/nologin
    user:*:1001:0:AlexeY,a2,222,222:/home/user:/usr/local/bin/bash
    
    /usr/local/etc/sudoers
    >
    # sudoers file.
    #
    # This file MUST be edited with the 'visudo' command as root.
    #
    # See the sudoers man page for the details on how to write a sudoers file.
    #
    # Host alias specification
    # User alias specification
    # Cmnd alias specification
    # Defaults specification
    # Uncomment if needed to preserve environmental variables related to the
    # FreeBSD pkg_* utilities.
    #Defaults       env_keep += "PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR PACKAGEROOT PACKAGESITE PKGDIR"
    # Uncomment if needed to preserve environmental variables related to
    # portupgrade. (portupgrade uses some of the same variables as the pkg_*
    # tools so their Defaults above should be uncommented if needed too.)
    #Defaults       env_keep += "PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES PKGTOOLS_CONF"
    # Runas alias specification
    # User privilege specification
    root    ALL=(ALL) SETENV: ALL
    user    ALL=(ALL) SETENV: ALL
    # Uncomment to allow people in group wheel to run all commands
    # and set environment variables.
    # %wheel        ALL=(ALL) SETENV: ALL
    # Same thing without a password
    # %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL
    # Samples
    # %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
    # %users  localhost=/sbin/shutdown -h now
    

    Статистика

    Время первой команды журнала11:15:15 2010- 5-20
    Время последней команды журнала11:21:12 2010- 5-20
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %21.78
    Процент синтаксически неверно набранных команд, % 0.00
    Суммарное время работы с терминалом *, час 0.10
    Количество командных строк в единицу времени, команда/мин16.97
    Частота использования команд
    sudo48|================================| 32.21%
    adduser38|=========================| 25.50%
    cat31|====================| 20.81%
    su20|=============| 13.42%
    rmuser12|========| 8.05%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ find / -name abc
      find: /home/devi-orig/.gnome2: Keine Berechtigung
      find: /home/devi-orig/.gnome2_private: Keine Berechtigung
      find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
      find: /home/devi-orig/.metacity: Keine Berechtigung
      find: /home/devi-orig/.inkscape: Keine Berechtigung
      ^C
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$