10-30-2018
Thanks. Haven't tried this one yet.. Being overly cautious so I wanted to ask- Is this the cause of the login issue I was having when I changed the uid before or could it be something else? Many posts I've seen about changing the uid just show how to change the uid without any mention of this issue I'm having. And if this is the issue, do you know the specific files or directories within this users home directory that are the ones responsible for the login issue? If its just a few, I could perhaps just change those to test the theory.
7 More Discussions You Might Find Interesting
1. HP-UX
Im trying to simply share a directory on one unix server and mount that share on a different unix server.
There is no "share" command like on sun. What is the command to create a share on HP-UX? (2 Replies)
Discussion started by: bski
2 Replies
2. IP Networking
Sometimes you get the tiger...but sometimes he get you and this latest home network “project” of mine has gnawed on me pretty badly. Perhaps you can offer some technical help. It will be heartily appreciated.
I have a small home network initially comprising two computers running Windows... (1 Reply)
Discussion started by: Annatar
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
Im running 32-bit solaris on sparc. We have a NAS(Network attached drive), with its IP address, username and password.
I'd like to be able to mount it on the solaris machine, and unmount it.
The best possibility would be able to mount it simulataneously on 2 or more systems.
Please... (9 Replies)
Discussion started by: 0ktalmagik
9 Replies
4. Solaris
How to move home directory of NIS user from one system to another system in Solaris.
Thanks & Regards
Durgaprasad (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have two machines. M1 and M2 and having a generic id catadm, these two machines having common mount of /u/catadm directory.
with this setup, ssh autologin is failing for me and asking me to enter password when i try autologin using this generc id from M1 to M2
catadm-M1$ ssh... (3 Replies)
Discussion started by: rbalaj16
3 Replies
6. Solaris
Hi,
I recently added a disk on a solaris 9 and I wanted to make it accessible for another machine, using the same name
here is what i did :
On the machine holding the internal disk
in vfstab i added the line
/dev/dsk/c1t1d0s4 /dev/rdsk/c1t1d0s4 /SHARED2 ufs 2 yes ... (2 Replies)
Discussion started by: zionassedo
2 Replies
7. Solaris
Hi,
I am having some NFS directory consistency problems with the below setup on a local (192.) network:
1. Different permissions (chmod) for the same NFS dir are reflected on different clients.
2. (more serious) an NFS dir created on client1 cannot be accessed on client2; this applies to some... (10 Replies)
Discussion started by: cosmojetz
10 Replies
LEARN ABOUT NETBSD
usermgmt.conf
USERMGMT.CONF(5) BSD File Formats Manual USERMGMT.CONF(5)
NAME
usermgmt.conf -- user management tools configuration file
SYNOPSIS
usermgmt.conf
DESCRIPTION
The usermgmt.conf file defines the default values used by the user management tools, useradd(8) and friends.
Options in this file can be set by manually editing /etc/usermgmt.conf or using the -D option to useradd(8).
base_dir sets the base directory name, in which new users' home directories are created when using the -m option to useradd(8).
class sets the default login class for new users. See login.conf(5) for more information on user login classes.
expire sets the default time at which the current password expires. This can be used to implement password aging. Both the expire and
inactive fields should be entered in the form ``month day year'', where month is the month name (the first three characters are
sufficient), day is the day of the month, and year is the year. Time in seconds since the epoch (UTC) is also valid. A value of
0 can be used to disable this feature.
group sets the default primary group for new users. If this is '=uid', then a uid and gid will be picked which are both unique and the
same, and a line will be added to /etc/group to describe the new group. It has the format:
group gid | name | =uid
homeperm sets the default permissions of the newly created home directory if -m is given to useradd(8). The permission is specified as an
octal number, with or without a leading zero.
inactive sets the default time at which new accounts expire. A value of 0 can be used to disable this feature. Also see the expire field.
password specifies an already-encrypted default password.
preserve If this value is one of 'true', 'yes', or a non-zero number, then the user login information will be preserved when removing a
user with userdel(8).
range specifies the uid boundaries for new users. If unspecified, the default is ``1000..60000''. It has the format:
range starting-uid..ending-uid
gid_range specifies the gid boundaries for new groups. If unspecified, the default is ``1000..60000''. It has the format:
gid_range starting-gid..ending-gid
shell sets the default login shell for new users.
skel_dir sets the default skeleton directory in which to find files with which to populate the new user's home directory.
FILES
/etc/usermgmt.conf
/etc/skel/*
/etc/login.conf
SEE ALSO
login.conf(5), passwd(5), user(8), useradd(8), userdel(8), usermod(8)
HISTORY
The usermgmt.conf configuration file first appeared in NetBSD 1.5.
BSD
December 31, 2009 BSD