Red Hat / Fedora :: Creating Web Page For Users With Restricted Shell To Change System Pw?

Feb 3, 2011

I have a box that's used as an SFTP server. All users have restricted shell so they can only use SFTP to send and receive files. But it makes it hard to have them change their passwords. I thought that if we had a web page set up where the user could enter their username, old password, new password and confirmed new password, that this would be the easiest solution.

View 1 Replies


ADVERTISEMENT

Programming :: Using Shell To Create A Default Web Page For New Users?

Nov 14, 2010

I came across this script a while back that i found. What i want to do is edit the script to create a default web page in /var/www/html a new user is added through the script.What the script does now is adds a user and sets a password for the user. What possible way (either through a combination of python or c or some other language) could i add to the shell script to do this? I've tried just dointhe command to touch index.html /var/www/html but it puts it on the desktop. Here's the script....

Code:
#!/bin/bash
# Script to add a user to Linux system

[code]...

View 3 Replies View Related

Server :: Web Based Simple Page To Change Passwords Of Squid Users?

Jun 3, 2010

just now i have installed squid, it works fine with authentication . I created this authentication in a simple text file by using htpasswd . my question is that is there any web based simple page to change passwords of squid users, because each and every time i cant give direct access to server for my squid users .

View 1 Replies View Related

General :: $HOME/.bashrc Disabled When User Shell Is 'rbash' (restricted Shell)?

Jun 15, 2011

MACHINE: HP Proliant DL260G5OS: SLES 11 SP1kernel: Linux xserver 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxIt is used as remote xserver in a LAN.I have configured /usr/lib/restricted/bin/.rbashrc with some environment variables but when the users logon in the system finally is executed $HOME/.bashrc and some environment vars are overwritten.

View 2 Replies View Related

Debian :: Adding New Users Restricted To Root

May 22, 2010

I am running an updated Lenny. Just discovered that as user I am able to add new users via gui:
System > Administration > Users and Groups.
I was under the impression adding new users was restricted to root. Is this is a bug, and if so who do I report this to?

View 1 Replies View Related

General :: Mounting Restricted Share For All Users?

Jan 25, 2010

I have a NAS on which I created a share with CIFS that has restricted access (that is: you need a username and password to access it). The reason is that I don't want any user in the network to mount this share.On one computer I have Bacula installed to run backups. I would Bacula to store the backups on the NAS share. So I mount the share in fstab. Works fine but the share directory is not read+write for all users but only for the root (since the mount was done for the root).The line in fstab:\readynasackup /readynas cifs user,rw,password=thePassword,username=bacula,umask=017 0 0How can I have Bacula (running as user Bacula) get read+write access to the directory representing the share?I tried to remove access control to the share but the directory representing the mount remains readonly...

View 1 Replies View Related

Fedora Servers :: Script For Creating Multiple Users?

Feb 7, 2011

I need to create a lot of users locally on my server.I have these info:username:GID:UID.How I can make a "for cycle" for make a multiple useradd? (useradd -u UID -g GID -m /home/USERNAME -s /bin/bash USERNAME)I tried to do this:

touch userlist.txt (UID:GID:USERNAME)
100:110:user1
200:210:user2

[code]...

View 6 Replies View Related

Ubuntu Servers :: Access Restricted To Select Computers Not Users

Apr 21, 2011

I want to configure a remote internet facing server as git server. I would like to restrict access to the server to a few systems (access is restricted to select computers, not users). I first thought of using ssh key, but the key can be copied to another system hence that alone is not sufficient. I am having a dynamic IP, so simple IP based firewall blocking is also not possible. I was thinking about the possibility of using both SSH Key and IP based access. Is it possible to update the firewall rule whenever my ip gets changed?

View 6 Replies View Related

Programming :: System Administrator Wants To Change The Privilege* Only To Users 1, 2 And 3 To Execute The File /bin/xxx?

May 1, 2010

due to an exercise in Operating Systems I have to do the following: There are 6 users, user1, user2 ... user6 with home directories /users/user1 ... users/user6. User1 to user3 belong to group1, user4 to user6 belong to group2. The System Administrator wants to change the privilege* only to users 1, 2 and 3 to execute the file /bin/xxx. Which are the commands he has to type in order to achieve the previous?*I'm not sure if this is the right translation.What I have come till now is: Code: $ chgrp group1 <name_of_file> but it seems too simple to be right.

View 1 Replies View Related

General :: Change To Shell Type That From SH To TCH And Back Again And Lost Coloring Of File System

Nov 18, 2010

after i made the change to my shell type, that from SH to TCH, and back again, i lost my coloring for my file system, if you know what i mean, folders always come in blue, and devices in yellow hope you understand? now everything i do can't seem to differentiated between files colors anymore.

View 7 Replies View Related

Programming :: Shell Script And Administration Of A System - Change Or Set The IP Address And Subnet Mask

Aug 26, 2010

tasks of an administrative level that we can use Shell Script to automate them. It's a kind of homework for me to figure out how to automate those tasks. Using PHP and Shell Script design and develop a Web Interface to change or set the IP Address and Subnet Mask of the UNIX / Linux System. The related services must be restarted automatically for the new IP Address and Subnet Mask to take effect. No user name and password should be asked for when using that Web Interface. How would you do it?

View 10 Replies View Related

Fedora :: Change Username Without Creating A New Account?

Jul 9, 2011

Anybody know how I can change my username, without creating a new account?

View 2 Replies View Related

Fedora Hardware :: Wiki Page On GNOME Or List Which Graphics Cards Work On 15 With GNOME Shell?

May 26, 2011

is there some wiki page on GNOME or Fedora that list which graphics cards work without problems on Fedora 15 with GNOME Shell? I have tried 3 older cards and they all failed, so I would like to share this info with others so people know which cards to avoid if they want to use full features of GNOME 3 via GNOME Shell.

View 1 Replies View Related

Programming :: Creating A Page With Cgi Script In Perl?

Jan 2, 2010

I have a problem to creating a page with cgi script in perl. I have my registration.html page and registration.cgi script. The form in registration.html is the following:

Quote:

<form action="./registration.cgi" method="get">
<fieldset>
<legend><b>Fill up cells to creating your account</b></legend><br/>
<label>Name: <input type="text" name="name"></label><br/><br/>
<label>Email: <input type="text" name="email1"></label><br/><br/>
<label>Re-enter email: <input type="text" name="email2"></label>

[Code]...

View 53 Replies View Related

Fedora :: How To Change Users /home

Jul 7, 2011

Right i did a clean install of Fc15 and used a custom layout with separate /home partition. when it all installed It had created /home in the /root partition. so I then moved the /home directory to the partition I intended, added the relevant fstab entries and re granted permissions etc to the relevant files. All done with a live cd.

the problem is when i rebooted all settings worked as the partitions mounted with all the /home directories and all my user settings are in tact but when i click home in KDE's kick off it tried to open root? So all im wondering is how could i change the default /home back to my user account? as all i seem to find online is how to specify a /home with useradd

View 3 Replies View Related

Fedora :: Cannot Change Shell Theme?

Jul 10, 2011

I overwrote this laptop from an Ubuntu installation to Fedora 15 (Gnome 3 doesn't work, in fallback mode) and unfortunately the theme is messed up. Using Gnome-Tweak tool I cannot change the shell theme, instead I get the message Quote:Could not list shell extensionsAny way to bypass or clear out so it returns to default?---------- Post added at 10:36 PM ---------- Previous post was at 07:12 PM ----------After reboot I had kernel crashes and the system would not boot up anymore. So I re-installed over the previous one, and modified the .gconf, .gconfd, .gnome2 and .gnome2_private before connecting my /home directory to the folder

View 2 Replies View Related

Red Hat / Fedora :: Permit Squid Users To Change Their Password

Feb 19, 2010

I have squid server running FC7. i have created a ncsa authentication for windows user to use internet through squid proxy.

My problem is that the each created user should be able to change their password.

- Is there a way, using NCSA authentication, to allow users to change their passwords?

- Is there a way to use windows AD password for squid authentication. if so how?

View 3 Replies View Related

Fedora :: Gnome Shell - Change Defaults?

Jun 3, 2010

I feel like this is a RTFM question, so if anyone wants to just direct me to the right manual, that's fine.

I just installed gnome-shell and i cant seem to find anyway to customize anything, esp. the task bar, the clock, et cetera

is there a preferences gui or something that I cant find? I feel like i'm trying to use a mac....

It seems pretty sweet, but, i dont know how to get used to not having a window list... i dont wanna pull up the "activities window" or alt tab every time i want switch windows (esp when my hand is used to just moving to the top of the screen and clicking on the right window...

There's this autohide taskbar at the bottom of the screen, but i cant for the life of me figure out what it's for, or how to put things on it....

View 8 Replies View Related

Fedora Installation :: Creating A Triple Boot System XP And W7?

Jun 8, 2010

I need some help creating a triple boot system, I have already installed XP and W7, now I am installing Fedora 12 (this is for work so unfortunately it has to be like that). Now the problem is that I want it to show all the partitions in GRUB. Right now it works by going to GRUB first, when selecting Windows it jumps to the Win7 boot manager.

I tried to have them all in one but it seems like the addresses I used in GRUB did not work cause it keeps directing me to the Win7 BM. BTW I am using a single drive with 3 different logical partitions.

View 3 Replies View Related

Fedora :: Nvidia - Change Screen Setup In Shell?

Jul 25, 2011

I have an NVIDIA graphics card and use the proprietary Nvidia driver for Fedora (13).Usually when I connect another monitor/screen - I change the setup through the nvidia-settings GUI. However, I find this a little bit cumbersome, and would like to do it with a simple click on a button or something like that.Hence:Can I somehow change my screen configuration through a bash script.

View 3 Replies View Related

Server :: Script To Add A Secondary Group To All Users Except System Default Users?

Jun 28, 2009

script which can add a secondary group to all existing users except system users in linux.

View 5 Replies View Related

General :: Running An ASP Page From A Shell Script?

Jun 18, 2011

I am trying to access an aspx page which, when accessed with certain parameters in the URL, downloads a file. I need to do this with a shell script, rather than interactively. I tried using wget, but I get a response of 302 from the server, which redirects me to the default page and then downloads the default page html itself. I quickly tried curl which seemed to be doing the same thing. It works perfectly from browsers on either Linux or Windows. Originally, I had a problem with interpretation of ampersands in the URL, but I put quotation marks around the URL, so that isn't the problem now.

I cannot fix this on the server side, because the aspx page will be accessed on a variety of servers which are probably all set differently and which aren't under our control.

View 5 Replies View Related

OpenSUSE Install :: Creating New Users Via CL?

Mar 26, 2010

I was wondering if someone could maybe provide me with a list of things to give a new user using the useradd utility. ( home directory, permissions, etc.) or even point me in the direction of a solid walkthrough

View 4 Replies View Related

Ubuntu :: Creating Folders For Different Users?

Jan 18, 2010

I want to make a script to create a videos , photos, and documents folder in all of my (or anyone's) user's home folder. Wildcards don't seem to work if I try to put in: sudo mkdir /home/WILDCARD/videos here is my error.

mkdir: cannot create directory `/home/*/videos1': No such file or directory

and just to clarify i want all user's to have there own seperate folders not shared.

P.S. I tried with the -p switch and no luck. I just got a new home folder for * with the videos folder inside.

View 6 Replies View Related

Red Hat / Fedora :: Creating A Fedora CD From An Existing System

Apr 6, 2009

I want to find out how to create a Fedora installation CD from an existing Fedora System. I cant find my CDs and I want to set up another system. What commands do i use or how do I go about it.

View 1 Replies View Related

Fedora Security :: Python Library For MLS - Write A Program To Change Range For Users?

Apr 16, 2010

I need to write program (preffer Python) to change range for users. Does anyone know some library which can help me to do that? Maybe someone has written program like that?

View 5 Replies View Related

Fedora :: Npviewer Segfaults - Firefox Sometimes Shows The Title Of A Page In A Tab But The Page Is Blank

Nov 23, 2009

On FC11 64 bit with Adobe flash plugin for Linux installed, I see segfault errors from "npviewer" in /var/log/messages. The only browser I have tried yet, Firefox, has glitches every now and then. Sometimes it shows the title of a page in a tab, but the page is blank. This can even happen when I try the Google main page. Is it true that npviewer has something to do with Adobe flash? Is there a way to fix the problem? If it is caused by Adobe flash, is there a different plugin that will replace Adobe flash player?

View 1 Replies View Related

Fedora Servers :: Postfix With System Users

Oct 28, 2009

Alright I have read through and tried many different tutorials but a VAST majority of them are with virtual users. This is my own personal email server so virtual users is unneccessary when I can just use the users personal mailbox.

My postfix main.cf there are 2 things I am unsure of. 1) For system users which local_recipiant_maps do i use? 2) What should mynetworks be?As I have been testing it out through telnet I can send mail but it doesnt get to my test email (a gmail account) and when i try to send an email locally it seems that everything works fine but the mail doesnt get there, and the error i am getting is that it cant find the user.

View 9 Replies View Related

Fedora :: Switch Between Users Cause System Freeze Up

Mar 17, 2010

I just get upgraded from F10 to F12. I am having problem with switching between users. The system would freeze up and the mouse would move unresponsively, could not restart system with Ctrl-Alt Del. When it freeze up, it doesn't give error anyway on next start.I suspect the problem is doing with Web browser, If one user using browser and switch to other user without logoff, it will freeze up when other using login.It seem working on following contion.

1. It seems ok when all users quit using browser,and it doesn't matter how many times you switch between users.

2. delete all other users and operate as only one user

View 3 Replies View Related

General :: Find Page Hit And Page Miss Ratio In Fedora Core 12?

May 10, 2010

How can I find page hit and page miss ratio in linux fedora core 12?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved