HI
Wana create a user with or without using useradd command or adduser command in Linux.
Follow these steps to do that.
1. With useradd command
# useradd username(Akki)
Now user named as username(Akki) is created.
2. With adduser command
# adduser username(Akki)
We can use both the command to create user in Linux.
Create user in linux without useradd command or adduser command.
Follow the following steps to create user without the useradd command.
1. First create the user's home directory
# mkdir /home/akkamal
Wana create a user with or without using useradd command or adduser command in Linux.
Follow these steps to do that.
1. With useradd command
# useradd username(Akki)
Now user named as username(Akki) is created.
2. With adduser command
# adduser username(Akki)
We can use both the command to create user in Linux.
Create user in linux without useradd command or adduser command.
Follow the following steps to create user without the useradd command.
1. First create the user's home directory
# mkdir /home/akkamal
2. Edit the /etc/passwd file by using "vipw" command..
# vipw
3. Edit the /etc/shadow file
4. Do the same for group by using the command `vigr`
No comments:
Post a Comment