I'm new to this site, so my apologies if this is posted to the wrong board.
I'm the student administrator of a small computer science lab (20 Win 7 PCs) at a university. The logins to the PCs are handled by samba (v. 3.5.8) on a CentOS server (kernel v. 2.6.9-100.ELsmp). Recently I noticed a problem where I could successfully create domain users on the server, but they would not be able to log in. Looking into this further, I discovered I was also unable to change domain passwords for users: the password changing script I've been told to use does not return any errors, but I'm still only able to log in with the old password (new password is "incorrrect").
Domain account creation & resetting is done with passwd and smbpasswd. I can post the full scripts if needed, but I don't think that's the issue.
A couple weeks ago, I transferred the /home directory over to a new hard drive. One of my friends mentioned the problem could be related to corrupted data (which I doubt) or incorrect permissions transferring. Here is exactly what I did:
My usual course of action in situations like these is to make sure all the software on the server is up to date, then proceed from there. However, the faculty lab administrator expressly prohibited me from doing this (sigh...), so I'm stuck with the current version of samba and an ancient kernel.
I looked through the samba log as well when I tried to log in with a newly-created domain account (testuser). Here is the output from less <samba log>.log | grep testuser. Server name and workstation names have been replaced by <mydomain> and <client pc> because I don't want to get in trouble:
I humbly admit I don't have extensive experience in *nix networking, so any advice would be appreciated.
I trying to change the user1 passwd from NIS client i.e
#passwd -r nis user1
Enter user1's password;
Can I change the password without having to enter user password?
Mnay Thanks (1 Reply)
I am trying to write a script to change passwords for the same user on multiple servers.
My environment runs purely ssh / scp not rsh / rcp and therefore coping using rcp is not an option.
I have been playing with expect to perform tasks but think there must be a better way.
Has anyone got... (7 Replies)
I am trying to change a user's Password, but I get the error "Password Cannot be changed; see account Administrator". Yet I am logged in as root.
I also cannot access the Accounts Manager facility when SCO when using System Administration screen Error "Unable to get initial list of users" (2 Replies)
I am getting the following error message "passwd: User unknown: username" Permission denied error message when trying to change the password for that given user account.
The user account is within the /etc/passwd file and I can also su to the account without any problems. This is sever is not... (11 Replies)
Hi,
I want to change the password of unix users on a number of servers.My plan was to ssh to all the servers in a shell script and use the passwd command. I tried to do so but everytime i run it i get this error.
ssh -x -n -l user1 host passwd
Changing password for "user1"
3004-709 Error... (3 Replies)
Hi all
I wanted to change the home dir for a user, but when using smh :
SMH->Accounts for Users and Groups->Local Users->Modify User
----------------------------------------------------------------------------------------------------------------------------------------------
* Required... (8 Replies)
Hello Experts,
Need some direction on creating shell script for following environment:
We have about 20 people in the team working as Oracle DBA's (sysdba's and appdba's). Total Servers which is a mix of Unix and Linux are 200. We do not have Root user access on any of the servers and... (3 Replies)
Initial SELinux context for user hitendra
$ id -Z
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
I changed the role
# semanage login -a -s user_u hitendra
#
Then I logged in again
# su - hitendra
$ id -Z
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
$
But I don't... (1 Reply)
Hi,
I tired changing password for mqm user in linux server with root user.
But still I couldn't able to login mqm user with changed password.
Can anyone please help on this.
# passwd mqm
Thanks,
Anusha (4 Replies)
Discussion started by: Anusha M
4 Replies
LEARN ABOUT SUNOS
listusers
listusers(1) User Commands listusers(1)NAME
listusers - list user login information
SYNOPSIS
listusers [-g groups] [-l logins]
DESCRIPTION
Executed without any options, this command lists all user logins sorted by login. The output shows the login ID and the account field value
from the system's password database as specified by /etc/nsswitch.conf.
OPTIONS
The following options are supported:
-g groups Lists all user logins belonging to group, sorted by login. Multiple groups can be specified as a comma-separated list.
-l logins Lists the user login or logins specified by logins, sorted by login. Multiple logins can be specified as a comma-separated
list.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO nsswitch.conf(4), attributes(5)NOTES
A user login is one that has a UID of 100 or greater.
The -l and -g options can be combined. User logins will only be listed once, even if they belong to more than one of the selected groups.
SunOS 5.10 18 Mar 1994 listusers(1)