Since Solaris passwd does not have --stdin option can you advise how to change the password for 30 users with a script. The password can be the same one. I`ve tried already echoing, xargs, cat and similar.
Thanks.
---------- Post updated at 04:04 AM ---------- Previous update was at 03:13 AM ----------
Done it, thanks to my colleagues for suggesting this
One bash script with
One expect script called ./chpass.exp
Hello chiefs :)
I have a SUN Enterprise 250, running Solaris 8.5 - I have managed to be able to connect a dumb terminal to the box via a standard straight-through rj45 cable, to my ibm laptop. OK so Putty can connect to the box via ssh - nice! But I dont have the password for root - or any... (1 Reply)
i'm trying to change passwd remotely in unix (solaris) and tried using "expect" but it is not working.
Any ideas to change the passwd remotely using a shell script? (1 Reply)
Dear all,
One one of the systems running solaris 8 the oracle account has a issue when trying to set the passwd. Following is what i get when the passwd command is executed.
:/opt/oracle> passwd
Enter existing login password:
System configuration error. Please contact your administrator.... (1 Reply)
Hi Gurus,
i have ussers cannot change their passwords, neither can root change the user's password.
O.S. Solaris 8
up−to−date on security patchaes as far as I know.
Examples (names have been changed to protect the guilty):
User logged on:
$ passwd
passwd: Changing password for <user>... (8 Replies)
I have turned off PermitEmptyPasswords in sshd_config, but a user with empty passwd (deleted by passwd -d user) can still login without password, why? it is big security concern, linux doesn't have the issue.
$ uname -a
SunOS 5.10 Generic_118855-14 i86pc i386 i86pc
... (8 Replies)
Hi,
I am using solaris 10. i am facing a strange problem regarding os passwd. i have a user oracle with passwd abc123
when i open a putty session with the os using abc123 it logs on. but if i use abc123!@# it agian log on without passwd error.
I came to know about the issue that if i... (5 Replies)
Hi Folks,
I have Solaris 10, latest release.
We have passwd aging set in /etc/defalut/passwd.
I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging.
When I reset the users passwd using passwd command, it re enables... (3 Replies)
Hello
I am trying to monitor when a user account gets added to my solaris server.
Does anyone know how I can set up an snmptrap for changes in the /etc/passwd file ? (4 Replies)
Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies
LEARN ABOUT DEBIAN
vnc4passwd
vncpasswd(1) Virtual Network Computing vncpasswd(1)NAME
vncpasswd - change a VNC password
SYNOPSIS
vncpasswd [passwd-file]
DESCRIPTION
vncpasswd allows you to set the password used to access VNC desktops. It stores an obfuscated version of the password in the given file
(default $HOME/.vnc/passwd). The vncserver script runs vncpasswd the first time you start a VNC desktop, and invokes Xvnc with the appro-
priate -rfbauth option. vncviewer can also be given a password file to use via the -passwd option.
The password must be at least six characters long, and only the first eight characters are significant. Note that the stored password is
not encrypted securely - anyone who has access to this file can trivially find out the plaintext password, so vncpasswd always sets appro-
priate permissions (read and write only by the owner). However, when accessing a VNC desktop a challenge-response mechanism is used over
the wire making it hard for anyone to crack the password simply by snooping on the network.
FILES
$HOME/.vnc/passwd
Default location of the VNC password file.
SEE ALSO vncviewer(1), vncserver(1), Xvnc(1)vncconfig(1),
http://www.realvnc.com
AUTHOR
Tristan Richardson, RealVNC Ltd.
VNC was originally developed by the RealVNC team while at Olivetti Research Ltd / AT&T Laboratories Cambridge. It is now being maintained
by RealVNC Ltd. See http://www.realvnc.com for details.
RealVNC Ltd 03 Mar 2005 vncpasswd(1)