I have performed the following with lower case group and usernames and the only difference is that the error message under groupadd goes away, yet I am still unable to successfully add a user WITH a home directory.
This is in Solaris 10. I am able to add a group, add a user, add the users password but I am unable to create the users home directory, and hence login using "su - Object" cannot be done. I've already proved that using a lower case group and username is the issue. The following is a script that I ran:
Thanks!
---------- Post updated at 08:26 PM ---------- Previous update was at 08:15 PM ----------
I logged out and tried to log in to the Solaris 10 graphical interface using user Object and the system will not allow the user to log in. It fails when it goes to switch to the desktop.
---------- Post updated at 08:54 PM ---------- Previous update was at 08:26 PM ----------
Well, after poking around on the Internet I figured out how to create the "home" directory for a user so that the user could log in but the directory is not located at
it is located at
so now Solaris has me wondering what /home is for? Is it just a mount point? Must be....
On Solaris, /export/home is the directory where local users home directories are located and /home is where autofs (automounter), if used, mounts a user's home directory.
And I wanted to clear up to readers that are following this that the only thing that I did to clear up the issue was to substitute the following line above
with
Thanks!
As autofs is managing /home by default, just add this line to /etc/auto_home:
and you'll be able to access /export/home/username through /home/username and so use the latter as home directory:
By the way, don't use mixed case or all upercase user/group names. While no strictly prohibited, it is a poor practice that sooner or later will lead to issues.
Hi,
In the following output you can see the the user "richard" is a member on the team/group "developers":
# id richard
uid=10247(richard) gid=100361(developers) groups=100361(developers),10053(testers)
but in the following details of the said group (developers), the said user... (3 Replies)
hi,
I want to create a volume group of 200 GB and then create different file systems on that.
please help me out. Its becomes confusing when the PP calculating PP.
I don't understand this concept. (2 Replies)
Hi, I'm new to the world of UNIX and have been asked to create a complex script (at least complex to me:confused:) for AIX UNIX to create a report of all the users on the server including server, user, UID, groups, GID, etc.
Found a script using lsuser, but the output is still lacking. 2 things I... (2 Replies)
Hi,
please let me know the commands to create new group/delete existing group in unix and assigning users to newly created group.
Thank you in advance. (2 Replies)
Hi,
Anyone can help me on how to duplicate privileges and group for useroradb01 to userrootdb01. I have currently using "useroradb01" and create a newly user "userrootdb01".
I want both in the sames privileges and group. Please see the existing users list below;
drwxr-xr-x 53 useroradb01... (0 Replies)
Hello,
I am new in AIX please tell how can i create user and add group in this user for example, i want to create user umair and want to add this user primanry group DBA and secondary group ORACLE,how can i do this please tell in detail
Thanks,
Umair (1 Reply)
I am trying to create a shell script that will:
check if a specific user already exists
if not, create a specific group and create the user in that group
assign a password to that user, where the password is passed in as a parameter to the script
The problem that I need help with is 3 on... (4 Replies)
Hello experts I am new to Unix.
Env : HPUX
I need to create a user say testuser such that it does not have access to file/directories from the other group i.e the last 3 digits .
How do I do that.
Reason for such a request :-
I have an existing user oracle which has default umask... (3 Replies)