Server IP : 85.214.239.14 / Your IP : 3.128.226.124 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/root/proc/self/root/proc/3/cwd/usr/share/doc/passwd/ |
Upload File : |
Read this file first for a brief overview of the new versions of login and passwd. ---Shadow passwords The command `shadowconfig on' will turn on shadow password support. `shadowconfig off' will turn it back off. If you turn on shadow password support, you'll gain the ability to set password ages and expirations with chage(1). NOTE: If you use the nscd package, you may have problems with a slight delay in updating the password information. You may notice this during upgrades of certain packages that try to add a system user and then access the users information immediately afterwards. To avoid this, it is suggested that you stop the nscd daemon before upgrades, then restart it again. ---General configuration Most of the configuration for the shadow utilities is in /etc/login.defs. See login.defs(5). The defaults are quite reasonable. Also see the /etc/pam.d/* files for each program to configure the PAM support. PAM documentation is available in several formats in the libpam-doc package. ---MD5 Encryption This is enabled now using the /etc/pam.d/* files. Examples are given. ---Adding users and groups Though you may add users and groups with the SysV type commands, useradd and groupadd, I recommend you add them with Debian adduser version 3+. adduser gives you more configuration and conforms to the Debian UID and GID allocation. Editing user and group parameters can be done with usermod and groupmod. Removing users and groups can be done with userdel and groupdel. --- Group administration Local group allocation is much easier. With gpasswd(1) you can designate users to administer groups. They can then securely add or remove users from the group. --- What to read next? Read the manpages, the other files in this directory, and the Shadow Password HOWTO (included in the doc-linux package). A large portion of these files deals with getting shadow installed. You can, of course, ignore those parts. Also, the libpam-doc package will go a long way to allowing you to take full advantage of the PAM authentication scheme.