Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Any admintool in shell mode

Status
Not open for further replies.

rsvk

Technical User
Mar 3, 2003
5
GB
Hi,
I'd like to know that is there any admintool in solaris command mode (like scoadmin in sco openserver.)pls help...
 
If you mean a text-based tool, not that I'm aware of. However, there is a graphical tool called admintool which allows some limited procedures to be carried out.
 
I want the text based utility
 
As I say, I'm not aware of one, but that doesn't mean to say that someone hasn't written one for their own use - something like sysadmin/sysadm on other systems perhaps. Have you done a Google search? Alternatively, try posting the question in the Unix scripting forum of this site. I'll get back to you if I find anything.
 
useradd, groupadd, passwd, lpadmin (or lpset), vi

serial port configuration is harder.
pmadm, sacadm, and syncinit appear to perform the job, but i have to say that i've only ever configured serial ports with admintool ... it takes a lot less time, and i only need to do it once on specific machines :)

btw 'vi' _is_ sensible, if you know the format :)
vi /etc/hosts
vi /etc/group 'GA<return><groupname>::<gid>:<esc>:wq<ret>'
vi /etc/passwd 'GA<return><username>:x:<uid>:<gid>:<comment>:/home/<username>:/bin/csh<esc>:wq<ret>'
vi /etc/shadow 'GA<return><username><esc>8A:<esc>:w!<ret>:q<ret>' then 'passwd <username>' ...
vi /etc/auto_home (which by the way admintool doesn't seem to do) 'GA<username> <server-of-home-dir>:/<path-to-home-dir><esc>:wq<ret>'

Jon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top