Users Administration
Creating Users
- sam --> user and group accounts
- useradd -g users -d
Username
Creating Groups
sam --> user and group accounts
groupadd Groupname
sam --> user and group accounts
groupadd Groupname
Useful Commands
Command | Description |
autocompletion | |
file * | Show file types, such as "ascii". |
find | Finds a file in the OS at the starting path on down |
grep | |
groups | Shows groups for a user |
kmtune | Displays kernel tunable parameters |
listusers -g | Lists the users in a group |
ln -s | Creates a symbolic link to a file or a directory |
pr -o10 -l64 -F -h | prints using margins of 10, page length of 64, header on each page |
rcp remote_machine: | remote copy |
remsh | opens a remote command shell on the host machine |
rlogin | remote login to host machine |
sar | |
set_parms | Change host name (/etc/set_parms) |
tail -f | Looks at end of file and keeps it open to watch changes |
top | realtime display of processes |
uname -a | information about the system |
print $(uname -i)16op|dc | prints hex system id |
who -u, who -Rm | who is using the system |
Process to recover from a lost/forgotten root password
1. Power off the server
2. Power on the server
3. Interupt the boot process during the 10 second interval (display will indicate this on the screen)
4. bo pri
5. Answer yes to interact with the ipl
6. At the prompt "hpux -is" for single user mode
7. cd /sbin
8. passwd root and follow prompts to put in new password
9. shutdown -r 0 to reboot to multiuser mode
Find HP-UX Overview and Command Summary All pages
0 Comment to "HP-UX Overview and Command Summary - page 12"
Post a Comment