08-03-2018
What be the contents of $user and $password?
8 More Discussions You Might Find Interesting
1. Programming
Has any setup samba 2.2.4 inside of unix ver 11.0, i am trying to mount a nfs mount on a w2k, and wxp box, and i was told that i had to upgrade to sambe 2.2.4, but the c compiler on ver 11.0 isnt ansii compatable, I could please use any help or directions on this matter...
thanks (0 Replies)
Discussion started by: marvin51796
0 Replies
2. UNIX for Dummies Questions & Answers
Hi, I am very new to Unix, do know some RedHat linux. I am wanting to install samba on my unix machine. Not sure where to start, any help would be very much appreciated.
Thanks,
Chris Lewis (4 Replies)
Discussion started by: lewy33
4 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am sorry I am total dummy in Unix. I am starting to explore a thing call "Samba".
From my initial and rough finding, I think Samba is only useful in providing Print services to PC platform users.
That is to say, The Unix machine which has Samba installed, is able to provide print... (3 Replies)
Discussion started by: champion
3 Replies
4. Solaris
Greetings..
I need SAMBA to implement a backup strategy , the problem is that i cant find it anywhere...
can u guys gimme a link to a sun compatilble version of samba ?
thanx thanx htanx.....
:rolleyes: (3 Replies)
Discussion started by: nEuRoMaNcEr
3 Replies
5. UNIX for Dummies Questions & Answers
Hey.
I have a question about adding users and maping theirs dirictorys.
Main Folder |
-User1 Folder
-User2 Folder
-User3 Folder
......
How can I add this users to have folders in the Main Folder ? any simple script?
And I... (0 Replies)
Discussion started by: net555
0 Replies
6. UNIX for Dummies Questions & Answers
after creating username/passwd, vi /usr/lib/smb.conf file
comment = dropoff location
path = /tmp/droloc
browsable = No
available = yes
public = no
writable = yes
printable = no
create mode = 777
valid users = tjmann,palexander,bmartin,....
instead of using... (2 Replies)
Discussion started by: tjmannonline
2 Replies
7. UNIX for Dummies Questions & Answers
currently, we are using SAMBA for our ftp way. can SAMBA be encrypted aka sftp ? (2 Replies)
Discussion started by: lawsongeek
2 Replies
8. Solaris
Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account.
If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies
LEARN ABOUT CENTOS
pam_pwhistory
PAM_PWHISTORY(8) Linux-PAM Manual PAM_PWHISTORY(8)
NAME
pam_pwhistory - PAM module to remember last passwords
SYNOPSIS
pam_pwhistory.so [debug] [use_authtok] [enforce_for_root] [remember=N] [retry=N] [authtok_type=STRING]
DESCRIPTION
This module saves the last passwords for each user in order to force password change history and keep the user from alternating between the
same password too frequently.
This module does not work together with kerberos. In general, it does not make much sense to use this module in conjunction with NIS or
LDAP, since the old passwords are stored on the local machine and are not available on another machine for password history checking.
OPTIONS
debug
Turns on debugging via syslog(3).
use_authtok
When password changing enforce the module to use the new password provided by a previously stacked password module (this is used in the
example of the stacking of the pam_cracklib module documented below).
enforce_for_root
If this option is set, the check is enforced for root, too.
remember=N
The last N passwords for each user are saved in /etc/security/opasswd. The default is 10. Value of 0 makes the module to keep the
existing contents of the opasswd file unchanged.
retry=N
Prompt user at most N times before returning with error. The default is 1.
authtok_type=STRING
See pam_get_authtok(3) for more details.
MODULE TYPES PROVIDED
Only the password module type is provided.
RETURN VALUES
PAM_AUTHTOK_ERR
No new password was entered, the user aborted password change or new password couldn't be set.
PAM_IGNORE
Password history was disabled.
PAM_MAXTRIES
Password was rejected too often.
PAM_USER_UNKNOWN
User is not known to system.
EXAMPLES
An example password section would be:
#%PAM-1.0
password required pam_pwhistory.so
password required pam_unix.so use_authtok
In combination with pam_cracklib:
#%PAM-1.0
password required pam_cracklib.so retry=3
password required pam_pwhistory.so use_authtok
password required pam_unix.so use_authtok
FILES
/etc/security/opasswd
File with password history
SEE ALSO
pam.conf(5), pam.d(5), pam(8)pam_get_authtok(3)
AUTHOR
pam_pwhistory was written by Thorsten Kukuk <kukuk@thkukuk.de>
Linux-PAM Manual 09/19/2013 PAM_PWHISTORY(8)