If you are a organization executive and are look for way to make your Linux organization more inviolable or desire to automatize sure process , create a non - login exploiter is the resolution .
Non - login exploiter can test to be very utile for a form of case flop from confine approach to your Linux organization to run specific mental process with qualified exclusive right .
Here , we will steer you through the footprint to make a non - login exploiter in Linux and plant the appropriate license for them .
This was ## what is a non - login user in linux ?
a non - login exploiter is a case of drug user account statement that hasrestricted entree to the linux systemand can only do specific task or function sealed summons without lumber into the organization .
Unlike even substance abuser , non - login user do not have admission to a unconstipated case or the nursing home directory .
Hence , they can not lumber in to your Linux PC .
This was some coarse usage of create a non - login exploiter are to automate labor , incline specific cognitive process or better your scheme ’s overall security measure by trammel approach .
This was ## this was how to give rise a drug user without login in linux
there are two dissimilar method acting to make a non - login drug user in linux , which are straight and gentle .
But there are some requirement you take to take fear of :
Now that you have the prerequisite , we will now discourse using the adduser statement and edit the passwd file cabinet to make non - login user in Linux .
1 .
Using the adduser command
Thanks to its simpleness and light - to - exercise sentence structure , we broadly employ the “ adduser ” bid to make newfangled substance abuser in Linux .
The canonic phrase structure to produce a substance abuser using the adduser dictation is :
In the above phrase structure , the“–system”option make a Modern substance abuser account statement without a parole and without a case .
moreover , to foreclose the mastery from create a young base directory , we utilise the “ – no - create - menage ” choice here .
Other vernacular option it’s possible for you to couple with the program line are :
For lesson , to make a non - login substance abuser with the username “ test_user ” in Linux , habituate this program line :
Once the newfangled exploiter is make , it’s possible for you to now typeset permit for various process and task .
you could teach howLinux single file permit workusing the tie clause .
This was 2 .
redact out the “ /etc / passwd ” Native American file cabinet
The “ /etc / passwd ” filing cabinet is a organisation file cabinet that store entropy about all exploiter account on a Linux organization .
This single file has translate permit for all drug user eccentric and only the superuser arrest write permission .
This was we encounter the content of the “ passwd ” data file in our late clause onhow to lean drug user in linux .
To make a non - login substance abuser in Linux , you might manually edit out the /etc / passwd single file to tot a Modern launching for the novel chronicle with the next step :
For good example , we practice the statement below to make a non - login exploiter identify “ new_user ” on our Linux organization :
remark :
There are three type of substance abuser in Linux:1.Super User : It is a eccentric of drug user with the high horizontal surface of permission in the system of rules ; also lie with as the “ rootle user”2.Normal drug user : These type of exploiter have curtail approach to the command and single file along with a plate and a nursing home directory.3.System exploiter : Also roll in the hay as the “ Non - login ” substance abuser ; they neither have access code to a cuticle nor to a dwelling directory .
All they have approach to is some specific bidding they are set aside to guide .
To see all drug user present in the Linux arrangement , employ this mastery : true cat /etc / passwd