Displaying 6 results from an estimated 6 matches for "newpw".
Did you mean:
newpm
2002 Nov 25
0
Linux and Samba Code
...PROMPT2 "Type the same password again: "
#define MINPWLEN 6
#define STRLEN 1024
int change(char *program, char *user, char *pwd, FILE *mystderr);
int main (
int argc,
char **argv)
{
int fd;
struct passwd *pwentry;
char name[STRLEN];
char newpw[STRLEN];
int reallyroot = 0;
char *cp;
FILE *mystderr;
/* do we have the appropriate permissions? */
if (geteuid() != 0) {
fprintf(stderr, "This program cannot run unless it is SUID-root, "
"exiting...\n");
exit(1);
}
if (getu...
2006 Apr 14
3
Am I doing this right?
...ve been working on is a basic user management system
- create a user, log in, log out, update your account, that sort of
thing. I created a password changer that compares the old password
(oldpw) against what''s currently in the database, then updates that
record with the new password (newpw). The code in the controller goes
like this:
def change_password
flash[:notice] = ""
if request.get?
@user = User.new
else
@user = User.find(session[:user_id])
if @user.password == @params[:oldpw]
if @params[:newpw] == ""
flash[:notice] = "...
2018 Mar 24
5
Redirected folders no longer working correctly
I have a new problem. I'm currently running Samba4 4.4.16 as an AD/DC. I've been running this
AD/DC for several years now. I am using redirected folders. Up to now, domain users logging
onto any domain member Windows workstation would get their desktop. Recently I discovered that
users now only get their desktop on their "usual" workstation, and the Desktop Target is in
fact
2018 Mar 27
0
How to change Domain password as normal user?
...pw using the normal 'passwd', and that does change the domain crentials, but
as this is done in a script, I need something that will work with stdin. I've triled chpasswd,
but that is only permitted by root. The following did work for me in the yad script:
passwd <<EOF
$oldpw
$newpw
$newpw
EOF
--Mark
2004 Mar 08
7
[Bug 811] locked /etc/shadow password prefix on linux
http://bugzilla.mindrot.org/show_bug.cgi?id=811
Summary: locked /etc/shadow password prefix on linux
Product: Portable OpenSSH
Version: 3.8p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: sshd
AssignedTo: openssh-bugs at mindrot.org
ReportedBy:
2018 Mar 28
5
How to change Domain password as normal user?
...swd', and that does change the domain crentials, but
> as this is done in a script, I need something that will work with stdin. I've triled chpasswd,
> but that is only permitted by root. The following did work for me in the yad script:
>
> passwd <<EOF
> $oldpw
> $newpw
> $newpw
> EOF
>
Actually, that didn't quite work. It did change the domain password, but didn't reset the
expiration days. So today, when the previous password was set to expire. My account was locked
out. I had to log onto the AD/DC as the Domain Administrator and do 'samba-...