General :: Create Unix User With Specific Requirements?
Aug 1, 2011
It should not have any /home/. It only can access a folder and that folder is home default for this account.
Details about my usage: We have a simple folder which contains demo code and we want to create a user to read this folder only
View 2 Replies
ADVERTISEMENT
Jun 16, 2010
I am looking to build up a HA/LB linux cluster with specific software requirements. For hardware, I have a number of dual xeon PE 2650s and would like to use them as efficiently as possible. These are 32bit systems, I anticipate scaling up to 64bit systems when I have a tested, working solution in place. For distro, I am familiar with CentOs, Gentoo and Ubuntu but unsure as to which would be the best foundation, although leaning towards CentOs. For software, I need to realise all the services provided by xampp (Apache, MySql, PHP, Perl, FTP), plus Red5 flash media server.
My current train of thought is;
6 physical servers; 2 Directors/Heartbeat, 2 Apache, 2 Red5
Gigabit private network for connecting the nodes.
CentOs 5.5 on all nodes.
DRDB across the 2 Apache nodes for Apache, MySql, PHP.
DRDB across the 2 Red5 nodes for Red5.
View 5 Replies
View Related
Oct 23, 2010
I'm needing to stand up a Lamp server for a SugarCRM migration. I've been told I need to ensure php 5.2 on the box along with ensuring several mod's are installed as well for php and apache. I was planning on using the lamp provided from xampp (apache friends) but they're current build is using PHP 5.3, any suggestions on how to get around it? If I have to build the whole thing from several packages (apache, php, mysql) then no problem, but I really like the myphpadmin page that comes with the xampp installer.
View 2 Replies
View Related
Mar 8, 2010
I want to create a simple website which can communicate with unix server.For example i want to run some command on a unix server through a website.
View 10 Replies
View Related
Aug 19, 2010
I know the 'history' command give me a list of the commands I have typed into the Unix terminal.
How do I see the command history for all of the users currently logged onto the system?
View 1 Replies
View Related
May 28, 2010
How to Look at history file in unix shell for a user, find 5 most often used commands.
View 5 Replies
View Related
Aug 1, 2011
How to check quota of a user in UNIX/Linux?
View 2 Replies
View Related
Mar 6, 2011
I'm trying to get the end result to have the same format as this as well:
1 bin
2 daemon
67 erozner
[code]....
Where the numbers are the number of processes being run by the user (the name right next to it).if I input the command egrep myFile into the terminal, it should look for every line with the letter x in myFile, right?
View 5 Replies
View Related
Jun 8, 2010
How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
View 5 Replies
View Related
Jun 9, 2010
my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)
View 7 Replies
View Related
Mar 10, 2011
I would like to create a bash script that takes the following text and split in different files. The output is:
Code:
JOB ID: 1
JOB NAME: Test1
01012010 Message: Success1
01012010 Message: Success2
[Code]....
View 7 Replies
View Related
Feb 2, 2010
I want to add 50 new users, not on the server yet I want to add them all to group Accounting - with 1 option, not user by user I want to setup a default password for them all, and have it say something like 'You must now change password or no access will be permitted' Any other options I also want to do once, not for each user?
View 3 Replies
View Related
May 19, 2010
I need to know the version number of tar used to create a specific tar file. How can I do that?
View 1 Replies
View Related
Apr 18, 2010
I have a need to run a specific app as a specific user when the machine boots into init 3. I can not run this as root so I need to specify a user. Can someone tell me how to accomplish this?I usually have to log in and start this application by typing check -D which starts this app and daemonizes it. I want to be able to run that at boot with my normal user not root.I hope I explained this correctly.I have added it to rc.local but it runs as root.
View 3 Replies
View Related
Nov 12, 2010
I am looking for a way to deny telnet and ssh to one specific user. So far I've only tested with telnet and my attempts have been limited to various hosts.deny entries:
in.telnetd : user@server
in.telnetd : user@server.domain.com
in.telnetd : user@IP_address
in.telnetd : user@.domain.com
None of these work. The only thing I've found that does work is:in.telnetd : IP_addressBut this is only a semi-viable solution because we will soon have multiple logins for the one username from different servers and sub-nets. Ideally, I'd like to be able to deny telnet and ssh access to this username regardless of where the login originates. I suppose it would be possible to specify each server IP, but that'll be a bear to maintain
View 7 Replies
View Related
Jan 13, 2011
i have created a file (by root user) called test.txt. Then i created a user bob. Now i want only bob to read/write/execute this file and no other user shall have any permission on it.
View 3 Replies
View Related
Oct 27, 2010
So right now VNC is starting a session using :1. When I connect to that session, the terminal is logged in as root. I'd like for the terminal to be logged in as a different user as some of my end users are going to be using this and don't require such privileges. I found that I can "su" to a different user and start a new VNC daemon on :2 and when I connect to that session, the terminal is logged in as that user. What I want to do is get that to run at boot-up.
View 4 Replies
View Related
May 25, 2010
i wonder, why nobody has written about it ...
How can i grant permission for files to specific user or specific group ??
Updated:
We have 3 groups: "g12" ("u1" and "u2), "g34" and "g56".
"g12" should only read the file.
"g34" should write and read it.
"g56" should have all permissions (rwx).
And others should not access the file at all.
View 3 Replies
View Related
Jun 19, 2010
I run the openssh daemon on port 22 and have the proftp running on port 21. I would like to block SSH for a specific user.I use proftpd.I would like to prevent the SSH access for this user and leave the FTP working for this user specific.Into /etc/passwd, I tried to change the /bin/bash to /bin/false, but this blocks both SSH and FTP access for this account.
View 3 Replies
View Related
Apr 9, 2010
Im trying to add users to my nfs server with a specific home directory that already exists. Can this be done? I've done some research on google and other forums but cant seem to find the answer.
View 7 Replies
View Related
Jan 17, 2011
I did some digging on the sudo command and I do know the config file is /etc/sudoers Read the manual for sudoers and found out that I must use visudo to edit the file I read some of the examples at the bottom of the file and tried entering my own account in following the example. one of the commands I was trying to allow my account to perform without root login is the mount command So I tried adding this in (kreid8 /bin/mount ALL) I then saved & exited the file and logged out of root and tried sudo mount -t vfat /dev/sdc1 /media. I got an error saying I had to be root in order to do that But when I use the visudo -l option it shows that I have that privellege. Did I edit the file incorrectly?
View 6 Replies
View Related
Oct 11, 2010
I have two machines between which I need to share a folder.On server1, I have the user 'appuser' that needs to access (read/write/delete) on this share.On server2, 'root' accesses this share and writes to it.I have the following in /etc/exports on server1:/home/app-share 999.999.99.99/28(rw,insecure,sync,no_root_squash)where the number is the IP address. How can I change this to allow 'appuser' access?
View 1 Replies
View Related
Feb 4, 2011
allow specific user permission to read/write my folder
I have a folder called /TAR/Sketch
I added a new user, named Snoopy, I want to grant this user the ability to add files & directories to this folder which is under the group Sketches and the owner is me.
How can I accomplish this ?
View 1 Replies
View Related
Aug 8, 2011
How can I mount a device with specific user rights on start up? I still have some problems figuring it out. I would like to mount the divide with uid=1000 and gid=1000. My current entry to the /etc/fstab/ file looks like this:
dev /var/www vboxsf rw, suid, dev, exec, auto, nouser, async, uid=1000
View 1 Replies
View Related
Nov 25, 2009
Can advise if I want to have a alert message when a specific user is login to the system , what can I do ? that mean if a specific is login to system then send me a alert message ( by any way ) to inform me the user is login , what is the method ?
View 7 Replies
View Related
May 26, 2010
I'm trying to do something like thisi created a group called www and made this group the owner of the directory/var/www/htmlso i can read and write to it.of course I've add my self to this group, but it seems i can't read and write.the syntax i used was something like chown :www /var/www/html.didn't workonly when i used chown samurai:www /var/www/html i could finally could create new file.the reason i don't want to specify the user name is because I'm thinking of a scenario when i need to give permission to a large group of ppl and don't want to do it user by user.
View 5 Replies
View Related
Jan 26, 2011
I am using CentOS 5.5 and I created few users (useradd john etc.) and now I want to assign privileges to this user on some directories and files in those directories. For example I want to give read privileges to directory "/documents" and all of files under that directory.
View 13 Replies
View Related
Jan 17, 2011
I'm using tomcat6 on Ubuntu 10.10. How can each application run as a different UNIX user?
View 3 Replies
View Related
Aug 11, 2009
I know this will sound stupid, but we've been tasked with standing up a professional Linux server to run a vendor tool and product on. And my team has never administered a Linux or Unix box before. I know the concepts, but can't find the tools!
How do I create a user-ID? And is there a GUI tool I can fire up from the command line to make some of this easier? We can get to the box, manipulate files, etc. But to this point we're exclusively usint 'root', and I know I need to stop that, and prevent that happening in the future.
View 6 Replies
View Related
Oct 22, 2010
I've got a remote server running CentOS and I require a new user account who would have access to sftp & ssh functions.I've got a bit of a problem creating the user since whenever I try to login with the new account through ssh (putty) I keep getting access denied.I've made different accounts with userids above /below 500; even though I'm a complete noob so no idea how I'm supposed to go about this.
View 6 Replies
View Related