how to create hidden account in centos

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat how to create hidden account in centos
# 1  
Old 04-25-2012
how to create hidden account in centos

hi everybody,
iam using 32bit centos 6.2 on my machine, and i want to create hidden user 'test' , i mean to say while iam starting my centos at GUI mode, at that time that username 'test' should not appear at list of users, only i can use that username is command line. logging in through other username.

i have try this:

#useradd test
#passwd test
#passwd -l test

and i restart the system at that time username 'test' doen't appears but while iam trying to switch user test in command line such error occurs:
$su test
Password:
su: incorrect password

so i was not able to login. After that i know

passwd -l test = it locks the user 'test'
passwd -u test = it unlocks the user 'test'

can anybody guide me or suggest me how to create hidden account in my local machine, i'll be greatful and any kinds of ideas, suggestions and guidelines are welcome.

THANK YOU IN ADVANCE
# 2  
Old 04-25-2012
There's nothing like hidden account in Linux/UNIX. It all depends on how GDM (if you are using GNOME) or KDM (if you are using KDE) parses the /etc/passwd and /etc/shadow files to get the list of accounts which can be used for logging in to the system.

I am unable to help you in this as I never use graphical terminals Smilie
This User Gave Thanks to admin_xor For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Rsync - how to copy hidden folder or hidden files when using full path

Hello. I use this command : rsync -av --include=".*" --dry-run "$A_FULL_PATH_S" "$A_FULL_PATH_D"The data comes from the output of a find command. And no full source directories are in use, only some files. Source example... (2 Replies)
Discussion started by: jcdole
2 Replies

2. AIX

Create another root account

Hi I would like to create another root account, for example root2. I added a new user named root2 and set it's uid and gid ( in /etc/passwd ) to 0. Then I logged in ( account root2 ) and the server asked to change the password, so I changed. And the problem happend. The password of both root... (15 Replies)
Discussion started by: bobochacha29
15 Replies

3. Linux

Create LVM of 2 Hard Drives while installing Centos 6.4.

Hello, I have install 2 HDD in my server and now installing the Centos6.4. I want create the LVM of those 2 HDD's so while i'm doing this it is not allowing me to select these 2 disk's from allowable disk list. Same problem if i tried to make Software RAID with creating LVM. Please help. (1 Reply)
Discussion started by: purushottamaher
1 Replies

4. Debian

[HELP] How to create a NIC eth0 in CentOs 6.3.

I make many service in Centos 6.3 so I clone and copy any edition to do, but I don't see a NIC eth0, What I have to do to used eth0 ?, and how to create it ? It some picture: http://i1055.photobucket.com/albums/s505/vn_photo/2222.jpg http://i1055.photobucket.com/albums/s505/vn_photo/1111.jpg ... (1 Reply)
Discussion started by: ilinux9
1 Replies

5. Solaris

Help me create new user account

I want create user. That user should be login to any server without asking password. How? tell me in detail. :wall: (3 Replies)
Discussion started by: Navkreddy
3 Replies

6. Solaris

Create sft account in unix

How to create sftp account in UNIX end. Anyone guide me on this. (2 Replies)
Discussion started by: vijill
2 Replies

7. UNIX for Dummies Questions & Answers

Need to create a restricted user(Centos)

Hi, I am a newbie to Linux and I want to create a user which can only execute network config commands like ifconfig and ping(to check the config). The following is what I did but failed. 1) Created a group called 'netconfig'. 2) added a user named 'user'. 3) added user to the 'netconfig'... (4 Replies)
Discussion started by: ankushpandit
4 Replies

8. UNIX for Dummies Questions & Answers

Create a unix account

Hi, Please could some advise how to create a unix account, from the root account. thanks you (2 Replies)
Discussion started by: venhart
2 Replies
Login or Register to Ask a Question