Problems managing user


 
Thread Tools Search this Thread
Operating Systems Solaris Problems managing user
# 15  
Old 10-18-2010
Quote:
Originally Posted by n2jkw
Why directory /home/n2jkw was not created @ useradd n2jkw....?
Because you didn't ask useradd to do it.
Quote:
Is this because the ZFS filesystem did not allowed it?
Hopefully not.
Quote:
How do I tell the system to add users @ /export/home by default?
That's expained in the useradd manual page:
Code:
useradd -b /export/home -c "Javier Maldonaldo" -m -s /bin/xxx n2jkw

with xxx being ksh or bash or whatever shell but not sh on Solaris 10 and older otherwise you will be frustrated by the shell lack of features.
# 16  
Old 10-18-2010
Thanks for the information. Do I just change the shell in the passwd file?
replasing sh with ksh?

Javier Maldonado

Note: No wonder I do not have man pages and other stuff....

The shell (sh) was put there by the useradd command...

How do I change the hostname from noname to something else?

Last edited by n2jkw; 10-18-2010 at 05:13 AM..
# 17  
Old 10-18-2010
Quote:
Originally Posted by n2jkw
Thanks for the information. Do I just change the shell in the passwd file?
replasing sh with ksh?
A safer method would be that one:
Code:
# passwd -e n2jkw    
Old shell: /bin/sh
New shell: /bin/ksh
passwd: password information changed for n2jkw

Quote:
Note: No wonder I do not have man pages and other stuff....
Then you should install them. It doesn't make sense administering a system without having the manual pages available.
Quote:
The shell (sh) was put there by the useradd command...
I know, that's the reason why I advised you to modify that setting (twice).
This User Gave Thanks to jlliagre For This Post:
# 18  
Old 10-18-2010
As you know I am learning this thing....I do appreciate all the advice.

Having said that, I was under the impression that the shell would do that, but I am not sure if changing the PATH would do it....

Thanks

Javier Maldonado

All my books assume that the system is installed and running....none of my books start with installation and options to customize the system.....

An example .... the hostname.....I missed to name my system during install...I can do:

#hostname Solaris-10

Now when the system re-start...the boot config have not change? is this correct?

Javier

Last edited by n2jkw; 10-18-2010 at 05:30 AM..
# 19  
Old 10-18-2010
Quote:
Originally Posted by n2jkw
Having said that, I was under the impression that the shell would do that, but I am not sure if changing the PATH would do it....
"do that", "do it" ? I'm afraid I have no idea about what you are referring to ...
Quote:
All my books assume that the system is installed and running....none of my books start with installation and options to customize the system.....

An example .... the hostname.....I missed to name my system during install...I can do:

#hostname Solaris-10
Mixed case names are accepted but I wouldn't advice using them. You might be hit one day by some bug. Better to stick with the all lowercase names Unix tradition.
Quote:
Now when the system re-start...the boot config have not change? is this correct?
Yes. The hostname command is transient. Use /etc/nodename for something permanent.
This User Gave Thanks to jlliagre For This Post:
# 20  
Old 10-18-2010
I was refering to the man pages....Smilie

Thanks a lot for all the info. I think I am going to bed now...Smilie

Time sure flies.....Smilie

Javier Maldonado
# 21  
Old 11-20-2010
*UPDATE*

Well, I desided after all the help here and all the local advice in school to install OpenSolaris in the machine...

Not to not-appreciate all the help in this forum. To all of you that helped...thanks a million.

Installation is way smoother than solaris 10 and I have been able to get at least 2 books specific to OpenSolaris. The OpenSolaris Bible and Pro OpenSolaris from amazon.

After installation and taking a terminal trip into the system I realized that there were lots of settings that were wrong for the system I have Smilie.

A great number of students and faculty told me to stick with Ubuntu or other Linux flavor, but I still want to learn from a System V based OS.

I have been busy with Java classes now and rarely log into the OpenSolaris platform even when I have NetBeans installed in it because I started with NetBeans on a Win XP tiny laptop I take to school...Smilie.

Any other ideas or suggestions will be well received from anybody on this forum...

Thanks to all...
Javier Maldonadol
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. HP-UX

Problems creating and accessing with user

Hi, I have created the user 'mastersa' in several servers. I need to change the user ID to '0'. However, after doing this, I am not able to login (Access denied). Even after I change the password, I still get this error. Why is this? Also, when I attempt to delete the user account, I get... (5 Replies)
Discussion started by: anaigini45
5 Replies

2. Windows & DOS: Issues & Discussions

Problems With User Creation Script

Hello everyone, I've been attempting to make a program which creates user accounts from a file which contains the usernames required. It also checks if the directory of the username exists in the C:\Users directory and then is going to give the option to delete the directory, or rename it, this... (1 Reply)
Discussion started by: charlieabee
1 Replies

3. Programming

Managing and using PTSes

Hello. I need to simulate a few serial links (doing a simulation of an application for a robot) and found socat which, at least with minicom, is working flawlessly. I would really like to make pts static: ie same numbers between reboots, and automatic (not me opening terminals and leaving... (2 Replies)
Discussion started by: erupter
2 Replies

4. UNIX for Dummies Questions & Answers

Problems with network user account /Library/ Folders

I am a IT tech at a business which has a 100 staff working in different departments and in a windows 7 / Mac 10.6 enviorment. I have recently been having issues with users not being able to reopen Siberlius 6 files due to a corrupted file within there library folder. The only way to fix this is to... (2 Replies)
Discussion started by: field1024
2 Replies

5. What is on Your Mind?

Managing Geeks

Hi, I recently found this article in computerworld and I think it is very true - at least in my company ... what do you guys think - is the author right? Is it ignorant management that makes us IT people seem to be anti-social and weird? Please share your thoughts Kind regards zxmaus (5 Replies)
Discussion started by: zxmaus
5 Replies

6. HP-UX

FTP user files permissions problems!!!

Hi, I have a problem with my ftp accounts whereby if any external ftp party connects to our server and puts any file in a directory on our server. The file permissons are always -rw-r----- and no read for others. I have adjusted the ftp user .profile to include 'umask 022' but this only works... (3 Replies)
Discussion started by: budrito
3 Replies

7. UNIX for Advanced & Expert Users

Managing nodes???

Does anyone know something about this? I have no idea what it means and how to do it. but if anyone can give me and explanation and also point me to a website, i'd really appreciate it (5 Replies)
Discussion started by: TRUEST
5 Replies

8. UNIX for Advanced & Expert Users

best solution for managing many nameservers

Hello, i was searching around for good solution for managing many nameservers to add the records on the slave servers and update them and if possible some web-based manegment for non-experianced customers. anyone has an idea where can i find such solution? (1 Reply)
Discussion started by: Bashar
1 Replies

9. UNIX for Dummies Questions & Answers

managing users

I need to setup several accounts on a solaris system. (passwd,shadow,group) My question is : How can I create a group which can access a machine, but only in certain directories? (4 Replies)
Discussion started by: SmartJuniorUnix
4 Replies
Login or Register to Ask a Question