1825775 Members
2206 Online
109687 Solutions
New Discussion

Create new user account

 
TrisnoBangun
Occasional Contributor

Create new user account

Hi,

How to create new user account in my hp ux, and i want to limited that account only can to do command show and sftp & ssh telnet. How i create and configure it ? is it same with IBM Aix too ??

Tks
Trisno
4 REPLIES 4
whiteknight
Honored Contributor

Re: Create new user account


Trisno,

You can go to SAM to create a new user account

#sam -> Account for users and group -> Users -> Action (add user)


hope this help

WK
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
Problem never ends, you must know how to fix it
sreejith vp
New Member

Re: Create new user account

user can be created using the useradd command. You have to specify the user (login) name at the
command line to create a new user. For example, the following command creates a new user trisno and
creates the home directory for the user as /home/trisno. It also copies startup files from the /etc/skel
directory to the home directory.
useradd -m trisno
The -m option is used to create the home directory and copy startup files into this directory.

u can limit the account using sudo utility.

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.8p12/

yes,In IBM AIX the commands are same
Sp4admin
Trusted Contributor

Re: Create new user account

Hello,

You can do a man on "useradd" or just use SAM. As far as sftp just make there shell /bin/false.

sp,
Viek
New Member

Re: Create new user account

Good day sir 

Can an 1 help me with creating a user account